markdown_select 0.1 - Another Markdown Wrapper to Let You Use Your Library of Choice
I’ve extracted the code for handling the loading and selection of different markdown libraries (such as kramdown, bluecloth, maruku, rpeg-markdown, rdiscount, pandoc-ruby, etc.) from the Slideshow gem and bundled up in its own gem, that is, markdown_select.
Comments
I also released multi_markdown a few weeks ago. I like how you normalized the options/output for each library.
Too long for FP, but:
–
Use it like:
require 'markdown_select' MarkdownSelect.new( 'Your Markdown Text Here' ).to_htmlWhy does markdown_select depend on kramdown?
Thanks for highlighting multi_markdown. Will add it to the alternatives section w/ the next readme update. markdown_select depends on kramdown because kramdown gets used as the all-Ruby fallback markdown engine. Cheers.
NOTE: The gem moved to a simpler name. markdown_select is now just markdown. New Markdown Engine Wrapper Projekt link. Cheers.
Post a comment