« Convertir Markdown en wikitexte » : différence entre les versions

 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 7 : Ligne 7 :


=== Utilisation ===
=== Utilisation ===
==== wiki => md ====
<syntaxhighlight lang="bash" line copy>
<syntaxhighlight lang="bash" line copy>
pandoc -f mediawiki -t markdown file.wiki -o file.md # wiki => md
pandoc -f mediawiki -t markdown file.wiki -o file.md  
</syntaxhighlight>
==== md => wiki ====
* Désactive les identifiants automatiques générés sur les titres Markdown.
<syntaxhighlight lang="bash" line copy>
pandoc -f markdown-auto_identifiers -t mediawiki file.md -o file.wiki
</syntaxhighlight>
</syntaxhighlight>


* Avec les identifiants automatiques
<syntaxhighlight lang="bash" line copy>
<syntaxhighlight lang="bash" line copy>
pandoc -f markdown -t mediawiki file.md -o file.wiki # md => wiki
pandoc -f markdown -t mediawiki file.md -o file.wiki  
</syntaxhighlight>
</syntaxhighlight>


Ligne 28 : Ligne 35 :




[[Catégorie:Tools]] [[Catégorie:Linux]] [[Catégorie:Debian]] [[Catégorie:Softz]]
[[Catégorie:Tools]] [[Catégorie: Terminal Tools]] [[Catégorie:Linux]] [[Catégorie:Debian]] [[Catégorie:Softz]]