Convert MediaWiki wikitext format to HTML using command line

前端 未结 3 678
悲&欢浪女
悲&欢浪女 2021-02-06 00:26

I tend to write a good amount of documentation so the MediaWiki format to me is easy for me to understand plus it saves me a lot of time than having to write traditional HTML.

3条回答
  •  既然无缘
    2021-02-06 01:22

    Looked into this a bit and think that a good route to take here would be to learn to a general markup language like restucturedtext or markdown and then be able to convert from there. Discovered a program called pandoc that can convert either of these to HTML and Mediawiki. Appreciate the help.

    Example:

    pandoc -f mediawiki -s myfile.mediawiki  -o myfile.html -s
    

提交回复
热议问题