Viewing markdown files on Linux console

Yeah, someone pulled that off. I think it’s awesome! I used npm to install it:

$ npm install -g mad

After trying it, I’ve noticed it wasn’t applying the styles correctly, and also was trimming the first character of all styled blocks. That had to be something with config, so I tried creating the file at [INSTALL_BASE]/etc/mad.conf with the following contents:

heading: 1m
code: 90m
strong: 1m
em: 4m

For detailed instructions the code is hosted at Github: https://github.com/tj/mad