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:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s