mad(1) node.js pages

The node.js markdown documentation is now viewable in the terminal via mad(1):

node man page

Just use mad list to see which pages are available:

list of node man pages

If you already have mad(1) installed simply run mad --update to grab these new pages, and view with mad node.http etc.

Express 3.x alpha reference docs

Since I don’t have the Express 3.x site up yet I thought I would whip up a quick set of markdown docs from the source comments using dox.

To view these markdown docs in your terminal install mad(1):

$ cd /tmp && git clone --depth 1 git@github.com:visionmedia/mad.git && cd mad && make install

Update your mad-pages:

$ mad --update

Profit!

$ mad express

HINT: Press “/”, type and press enter to search. The keys u and n move to the prev / next occurrences:

HINT HINT: There are also mad(1) pages for Jade, HTTP status codes, errnos and others.

Going mad(1)

mad(1) is a tiny tool that allows you to view markdown manual pages. I’m a huge fan of man in general, but the format is pretty annoying and often converted from markdown, textile etc anyway. The output man produces is also pretty bad in my opinion, mainly whitespace issues.

markdown man page

This is just a quick 5 minute hack so follow if you’re interested or open an issue if you have some ideas! It would be great to allow customization of colors, formatting, blah blah. Here’s another screenshot:

jade