Introducing Notorious
A couple days ago, I released a new library to RubyGems. It's called notorious
, and it's a command-line application that allows you to take notes in markdown and then view them all spiffed up in the browser.
The README on the github page explains all the functionality pretty well, but it's simple enough that I'll repeat the basics here. As long as your have RubyGems and a C compiler (for Redcarpet extensions), you should be ready to go.
Install
gem install notorious
Take notes in markdown
# Introduction to Geology
## The Makeup of the Earth
* Crust - The top layer, about 35-70 km thick
* Mantle - Below the crust, around 2900 km thick
* Core - Innermost layer
* Both the Mantle and the core have inner and outer layers
###### Fun Fact
The inner core is solid and the outer core is liquid, even though the inner core is hotter.
This is because of the extreme pressure on the inner core.
![Earth Slice](http://stewart.sswiki.com/file/view/earth_structure_full_size_landscape.jpg)
__Notes by Zack__
Let notorious do the rest
notorious build geology_notes.md
Browser output
And that's pretty much it. To learn how it works and some customization options, check out the github page. Right now it's all local, but a future version could give you the ability to login, logout, signup, publish, and pull down notes from notorioushq. It'll use GiantClient for http, which is another RubyGem of mine. Sometime I'll do a blog post on why I think it's nifty / has a use case among the multitude of http clients out there.
have a good one, Zack