Koara is a modular lightweight markup language. This project is the core koara parser written in Ruby. If you are interested in converting koara to a specific outputFormat, please look the Related Projects section.
gem install koara
require 'koara'
parser = Koara::Parser.new
result1 = parser.parse('Hello World!') # parse a string
You can configure the Parser:
-
parser.modules
Default:["paragraphs", "headings", "lists", "links", "images", "formatting", "blockquotes", "code"]
Specify which parts of the syntax are allowed to be parsed. The rest will render as plain text.
- koara / koara-rb-html: Koara to Html renderer written in Ruby
- koara / koara-rb-xml: Koara to Xml renderer written in Ruby