Skip to content
This repository

mad(1) is a markdown manual page viewer

tree: 0587f078fe

Fetching latest commit…

Cannot retrieve the latest commit at this time


mad(1) is a markdown driven manual page viewer, this makes manuals easier to write, reuse, and read.

markdown man page


Usage: mad <file>


  -u, --update    update remote mad-pages
  -V, --version   output cpm version
  -h, --help      output this help information


Install mad(1) and its associated mad page.

$ make install

Uninstall both mad(1) and the associated mad page.

$ make uninstall


I love man pages, however they are annoying to write by hand, and often converted from markdown anyway. mad(1) is effectively the same idea, but write your manuals in markdown like you would anyway, re-use them in your github readmes, wikis, or use markdown to HTML conversion tools.

mad(1) pipes to less(1) so you get the same paging / searching goodness that you expect from man(1).

Page repository

mad-pages is a collection of useful mad pages such as language operator precedence tables, http status codes, mime type tables etc.

Page lookup

Use the MAD_PATH environment variable to control where mad(1) will look for a manual page. The ".md" extension may be omitted.

For example:


The following paths will always be searched:

 - .
 - /usr/local/share/mad
 - /usr/share/mad


Jade manual:

jade manual markdown

Something went wrong with that request. Please try again.