Markdown for mruby
MIT License
Markdown for mruby using the Sundown library.
In the mruby build_config.rb file add:
conf.gem :git => 'git://github.com/carsonmcdonald/mruby-markdown.git', :branch => 'master', :options => '--recursive'
In the mruby directory:
mkdir mrbgems
cd mrbgems
git clone --recursive git://github.com/carsonmcdonald/mruby-markdown.git
Then in your build config add:
MRuby::Build.new do |conf|
conf.gem 'mrbgems/mruby-markdown'
end
md = Markdown::Markdown.new
puts md.render("Working\n========")
or
md = Markdown::Markdown.new(:tables => true)
puts md.render("Working\n========")
You can pass the following options when creating a new Markdown instance:
MIT - See LICENSE