« Convertir Markdown en wikitexte » : différence entre les versions
Apparence
Aucun résumé des modifications |
|||
| (3 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
== Installation == | == Pandoc == | ||
Un outil de conversion de documents polyvalent qui peut convertir Markdown en de nombreux formats, y compris le wikitexte. | |||
=== Installation === | |||
<syntaxhighlight lang="bash" line copy> | <syntaxhighlight lang="bash" line copy> | ||
sudo apt install pandoc | sudo apt install pandoc | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Utilisation | === Utilisation === | ||
<syntaxhighlight lang="bash" line copy> | <syntaxhighlight lang="bash" line copy> | ||
pandoc -f | pandoc -f mediawiki -t markdown file.wiki -o file.md # wiki => md | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Catégorie:Tools]] [[Catégorie:Linux]] [[Catégorie:Debian]] | <syntaxhighlight lang="bash" line copy> | ||
pandoc -f markdown -t mediawiki file.md -o file.wiki # md => wiki | |||
</syntaxhighlight> | |||
== md2wiki == | |||
Un outil en ligne de commande spécifique pour convertir Markdown en wikitexte. | |||
=== Installation === | |||
<syntaxhighlight lang="bash" line copy> | |||
npm install -g md2wiki | |||
</syntaxhighlight> | |||
===Utilisation === | |||
<syntaxhighlight lang="bash" line copy> | |||
md2wiki input.md > output.wiki | |||
</syntaxhighlight> | |||
[[Catégorie:Tools]] [[Catégorie: Terminal Tools]] [[Catégorie:Linux]] [[Catégorie:Debian]] [[Catégorie:Softz]] | |||
Dernière version du 22 octobre 2025 à 16:01
Pandoc
Un outil de conversion de documents polyvalent qui peut convertir Markdown en de nombreux formats, y compris le wikitexte.
Installation
sudo apt install pandoc
Utilisation
pandoc -f mediawiki -t markdown file.wiki -o file.md # wiki => md
pandoc -f markdown -t mediawiki file.md -o file.wiki # md => wiki
md2wiki
Un outil en ligne de commande spécifique pour convertir Markdown en wikitexte.
Installation
npm install -g md2wiki
Utilisation
md2wiki input.md > output.wiki