Beardown

A html convertor for Bear App's bearnote - Polar Bear markup language inspired by CommonMark, and this convertor used by Miyano

Installation

Add this line to your application's Gemfile:

gem 'beardown'

And then execute:

$ bundle

Or install it yourself as:

$ gem install beardown

Usage

require "beardown"

text = File.read "text.txt"
note = Beardown.new text

note.html
note.title
note.content
note.summary
note.tags

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/wuusn/beardown.

License

The gem is available as open source under the terms of the MIT License.