Command line
Fragment html
markdown sourcefile.md > outputfile.html
Page web complete
pandoc -s sourcefile.md -o outputfile.html
PDF en utilisant latex
pandoc -V geometry:margin=1cm -s sourcefile.md -o outputfile.pdf
Syntaxe
http://daringfireball.net/projects/markdown/syntax
Urls
[Texte](url)
Code
~~~python
echo("Hello, world !")
~~~
Variantes
Markdown (original, Daring fireball)
GFM (Github Flavor Markdown)
MultiMarkdown
Footnotes :
Mon texte[^ Ceci est une note de bas de page]