是否有任何工具可以将Markdown转换为其他格式的Wiki文本 [英] Are there any tools to convert markdown to Wiki text in other formats
本文介绍了是否有任何工具可以将Markdown转换为其他格式的Wiki文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
要求是我需要以markdown格式将长文档粘贴到没有安装markdown扩展名的mediawiki网站. 我所能找到的有关Markdown,工具或模块/库的所有内容都负责将Markdown转换为HTML. 我的问题是:从markdown到MediaWiki wikitext,是否有一种方便的方法来完成这项工作?
The requirement is that I need to paste a long document in markdown format to a mediawiki site, which has no markdown extension installed. All I can find about markdown, tools or modules/libraries, are in charge of converting markdown to HTML. My question is: is there a convenient way to do the work from markdown to MediaWiki wikitext?
推荐答案
尝试使用 Pandoc (通用文档转换器):
Try Pandoc, a universal document converter:
$ pandoc --help
pandoc [OPTIONS] [FILES]
Input formats: docbook, haddock, html, json, latex, markdown, markdown_github,
markdown_mmd, markdown_phpextra, markdown_strict, mediawiki,
native, opml, rst, textile
Output formats: asciidoc, beamer, context, docbook, docx, dzslides, epub, epub3,
fb2, html, html5, json, latex, man, markdown, markdown_github,
markdown_mmd, markdown_phpextra, markdown_strict, mediawiki,
native, odt, opendocument, opml, org, pdf*, plain, revealjs,
rst, rtf, s5, slideous, slidy, texinfo, textile
这篇关于是否有任何工具可以将Markdown转换为其他格式的Wiki文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文