A html convertor for Bear App's bearnote - Polar Bear markup language inspired by CommonMark, and this convertor used by Miyano
Add this line to your application's Gemfile:
gem 'beardown'
And then execute:
$ bundle
Or install it yourself as:
$ gem install beardown
require "beardown"
text = File.read "text.txt"
note = Beardown.new text
note.html
note.title
note.content
note.summary
note.tags
Bug reports and pull requests are welcome on GitHub at https://github.com/wuusn/beardown.
The gem is available as open source under the terms of the MIT License.