Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Latest commit

 

History

History
43 lines (26 loc) · 862 Bytes

README.md

File metadata and controls

43 lines (26 loc) · 862 Bytes

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.