This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatique:pandoc [2025/01/28 11:10] – yahiko | informatique:pandoc [2026/03/24 16:57] (current) – yahiko | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Notes sur l' | Notes sur l' | ||
| - | ===== Markdow | + | ===== Syntaxe de conversion ===== |
| + | <code batch> | ||
| + | pandoc -f [format source] -t [format destination] fichier_source.ext -o fichier_destination.ext | ||
| + | </ | ||
| + | |||
| + | ===== Markdown | ||
| <code batch> | <code batch> | ||
| pandoc -f markdown -t html source.md -o test1.html | pandoc -f markdown -t html source.md -o test1.html | ||
| Line 20: | Line 25: | ||
| - | ===== HTLM vers Markdown ===== | + | ===== HTML vers Markdown ===== |
| <code batch> | <code batch> | ||
| pandoc -f html -t markdown_mdd source.html -o destination.md | pandoc -f html -t markdown_mdd source.html -o destination.md | ||
| + | </ | ||
| + | |||
| + | ===== DokuWiki vers Markdown ===== | ||
| + | <code batch> | ||
| + | pandoc -f doukuwiki -t markdown source.txt -o destination.md | ||
| </ | </ | ||