This is a demo of the zmarkdown
engine being used in a Grav website, via the zmarkdown engine plugin. Everything in this page is written in pure-Markdown, without any shortcode. The visual output depends on your theme, tho (especially custom blocks—like informations, errors, etc.—, source codes, and maths—requires the CSS).
You can see other demos (and capabilities—did you know zmarkdown
can also export in LaTeX and epub?) in the project’s demo page and in its repository.
This is my first paragraph.
This is my second paraf paragraph.
I’m on a new line, but this is still on the same paragraph—you need to add two spaces to force a line break.
Here I do.
Level 1 title
Level 2 title
Level 3 title
Level 4 title
This is centered.
This is left-aligned.
210 is 1024.
Water molecule is H2O.
- What about a ;
- list ;
- with small little dots or hyphens?
Hum what does I need…
- Pâtes
- Œufs
- Riz
- Thé
- First.
- Second.
- Third.
- Oh, a list ;
- with ;
- sub-lists ;
- inside… (see that? typography!)
Name | Age |
---|---|
Fred | 39 |
Sam | 38 |
Alice | 35 |
Mathilde | 35 |
Table Headings | Here | |
---|---|---|
Sub | Headings | Too |
cell spans rows | column spanning | |
normal | cell | |
multi line cells too | cells can be formatted paragraphs |
You can also inline formulas: with a single $
sign before and after. This is using under the hood: fully server-side rendered, blazing fast to display!
Tech and source codes
#!/usr/bin/env python3
print("Hello, World!")
With highlighting :
#!/usr/bin/env python3
print("Hello, World!")
Oh and you can highlight specific lines, useful to point out at something!
use strict;
use warnings;
print "Comment vous appelez-vous ? ";
my $nom = <>; # Récupération du nom de l'utilisateur
chomp $nom; # Retrait du saut de ligne
print "Bonjour, $nom !\n";
Use Ctrl + C to copy.
This is an info box.
Cool, uh?
With title!
Questions too!
Warnings too!
Errors too!
Neutral blocks too (for theorems, highlights, …).
What’s in it?
Secret blocks too! Boo
Un triangle ABC est rectangle en A si et seulement si
Welcome on ZdS !
Markdown1 is a light syntax to edit documents. Pandoc2 is a documents converter.