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:
::embed[https://www.youtube.com/watch?v=q2fIWB8o-bs]
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
You can also do display math like:
So many symbols to use!
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
Header 3
Header 4
Header 5
Header 6
This is a paragraph about a T-Rex
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:
- Salak
- Jabuticaba
- Mangosteen
Emphasis
You can use italics or bold or both italics and bold.
Images
For more on basic syntax you can checkout this guide
You can see how it renders on free2z here: https://free2z.com/free2z/zpage/flavored-markdown