Site converted to markdown

Site converted to markdown

### Markdown js I recently got frustrated at Redcloth and Textile and decided to use something a little more light weight and familiar for my blog. Enter [markdown.js](https://github.com/evilstreak/markdown-js) . I was already pretty familiar with markdown from github wikis and it seemed like a better option. In the process I wound up adding [Bower] (https://github.com/bower/bower) for installing and managing npm packages directly through the Rails asset pipeline. This offloaded the markup processing to the client as well and removed the Redcloth dependency, which was overkill for what I was trying to accomplish. The hardest part for me was figuring out how to include the asset pipeline files. Once I had the bower gem installed. The missing piece to get this to work was updating my bower.json, Bowerfile and app/assets/javascripts/application.js to look like so: Bowerfile: +asset 'markdown' bower.json: { "lib": { "name": "bower-rails generated lib assets", "dependencies": {} }, "vendor": { "name": "bower-rails generated vendor assets", "dependencies": {} } } app/assets/javascripts/application.js: //= require markdown/lib/markdown The javascript that I added to my view was as simple as: $("article .content").each( function() { $(this).html(markdown.toHTML($(this).html())); }); Viola, a client side markdown js parser done.