在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):philipashlock/mediawiki-to-markdown开源软件地址(OpenSource Url):https://github.com/philipashlock/mediawiki-to-markdown开源编程语言(OpenSource Language):PHP 100.0%开源软件介绍(OpenSource Introduction):MediaWiki to MarkdownConvert MediaWiki pages to GitHub flavored Markdown (or other formats supported by Pandoc). The conversion uses an XML export from MediaWiki and converts each wiki page to an individual markdown file. Directory structures will be preserved. The generated export can also include frontmatter for Github pages. You may also be interested in a forked version of this codebase available at https://github.com/outofcontrol/mediawiki-to-gfm Requirements
Export MediaWiki PagesYou'll export all your pages as a single XML file following these steps: http://en.wikipedia.org/wiki/Help:Export InstallationInstall Pandochttp://johnmacfarlane.net/pandoc/installing.html Get Composer
Install Composer Packages
Run####--filename####
The only required parameter is
####--output####
You can also use
####--indexes####
You can set
####--frontmatter####
You can specify whether you want frontmatter included. This is automatically set to
####--format####
You can specify different output formats with
Supported pandoc formats are:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论