Skip to content
Read Markdown files like UNIX man pages
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
edit.png
mm
read.png

README.md

Marked Man

View Markdown files as man pages.

Get you some markdown:

Edit file

Read it:

Read comfortably


This is a simple one liner:

pandoc -s -t man "$1" | groff -T utf8 -man | $PAGER

Usage:

$ mm README.md

Installation

You will need:

For macOS users, groff should come pre-installed. You can get Pandoc via brew:

$ brew install pandoc

After that, put the file mm somewhere in your $PATH

Credits

Thanks to all who helped here! (Really, thanks L. Scott Johnson! He made this. I just put it in a Git repo.)

Author

Ashton Wiersdorf

You can’t perform that action at this time.