Instantly share code, notes, and snippets.

# skyl/free2z-flavor.md

Last active April 22, 2023 22:17

You can find the complete source of this zPage here

# Special Free2z Syntax Extensions: Now Extra Peppy! 🎉

## Embeds

You can embed a plethora of exciting content with the ::embed[URL] directive.

Feast your eyes on this mesmerizing fractal video:

Try any of over 1900 providers! If something isn't as great as it could be let us know!

## Math

Free2Z math is a little different from github. Start inline math with two dollar signs, $$. Start display math with blank lines around the $$ to begin and end.

You can do inline math and $$\LaTeX$$ like: $$\int_{a}^{b} x^2 dx$$.

You can also do display math like:

$$\oint_{C} \vec{E} \cdot d\vec{A} = \frac{1}{\varepsilon_0} \int_{\text{volume}} \rho, dV, \quad \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}, \quad \lim_{x \to 0} \frac{\sin(x)}{x} = 1$$

So many symbols to use! $$\aleph_{0}$$.

Note that a literal dollar sign is just a literal dollar sign, "I have $80 and Jim has$20".

## Code Blocks

You can create code blocks and specify the language.

Python:

def fibonacci(n: int) -> int:
if n <= 1:
return n
else:
return fibonacci(n - 1) + fibonacci(n - 2)

TypeScript:

interface TimeTraveler {
name: string,
originYear: number,
destinationYear: number,
}

You can also add line numbers and highlight particular lines:

function timeTravel(person, year) {
if (year > 2100) {
console.warn("Time travel beyond 2100 is not recommended!")
}
person.destinationYear = year;
}
Planet Distance from Sun (AU) Fun Fact
Mercury 0.39 Smallest planet in our solar system
Venus 0.72 Hottest planet with a surface temp of 900°F
Earth 1.00 The only planet known to support life
Mars 1.52 Home to the tallest volcano in the solar system, Olympus Mons

## Regular Markdown reference

This is a paragraph about a T-Rex 🦖 playing the guitar 🎸.

This is a quote from Albert Einstein: "The difference between stupidity and genius is that genius has its limits."

## Lists

This is a bullet list of some quirky animals:

• Axolotl
• Blobfish
• Pangolin

Enumerated list of peculiar fruits:

1. Salak
2. Jabuticaba
3. Mangosteen

## Emphasis

You can use italics or bold or both italics and bold.

## Images For more on basic syntax you can checkout this guide

### skyl commented Apr 22, 2023 • edited

You can see how it renders on free2z here: https://free2z.com/free2z/zpage/flavored-markdown