Aller au contenu

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

De Marmits Wiki
Page créée avec « == Installation == <syntaxhighlight lang="bash" line copy> sudo apt install pandoc </syntaxhighlight> Utilisation: <syntaxhighlight lang="bash" line copy> pandoc -f markdown -t mediawiki -o fichier.wiki fichier.md </syntaxhighlight> Catégorie:Tools »
 
 
(2 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 markdown -t mediawiki -o fichier.wiki fichier.md
pandoc -f markdown -t mediawiki -o fichier.wiki fichier.md
</syntaxhighlight>
</syntaxhighlight>


[[Catégorie:Tools]]
== 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:Linux]] [[Catégorie:Debian]] [[Catégorie:Softz]]

Dernière version du 17 mars 2025 à 20:55

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 markdown -t mediawiki -o fichier.wiki fichier.md

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