Converting Markdown to Man Pages#

md2man#

To install md2man:

$ dnf install golang-github-cpuguy83-go-md2man

To convert a Markdown file to man page:

$ go-md2man -in test.md -out test.1

ronn#

To install ronn:

$ dnf install rubygem-ronn

To convert a Markdown file to a man page and HTML page:

$ ronn test.1.ronn

Converting MediaWiki to Markdown#

MediaWiki document can be converted to Markdown using pandoc.

Online conversion tool is available here.

See also:

Embedding Markdown in MediaWiki#

See also:

Markdown Viewer#

Create ~/.local/share/mime/packages/text-markdown.xml with the following content:

<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
  <mime-type type="text/plain">
    <glob pattern="*.md"/>
    <glob pattern="*.mkd"/>
    <glob pattern="*.markdown"/>
  </mime-type>
</mime-info>

See Also#