Module: Minidown

Defined in:
lib/minidown.rb,
lib/minidown/utils.rb,
lib/minidown/parser.rb,
lib/minidown/element.rb,
lib/minidown/version.rb,
lib/minidown/document.rb,
lib/minidown/html_helper.rb,
lib/minidown/elements/html_element.rb,
lib/minidown/elements/line_element.rb,
lib/minidown/elements/list_element.rb,
lib/minidown/elements/text_element.rb,
lib/minidown/elements/block_element.rb,
lib/minidown/elements/table_element.rb,
lib/minidown/elements/raw_html_element.rb,
lib/minidown/elements/paragraph_element.rb,
lib/minidown/elements/code_block_element.rb,
lib/minidown/elements/list_group_element.rb,
lib/minidown/elements/order_list_element.rb,
lib/minidown/elements/indent_code_element.rb,
lib/minidown/elements/unorder_list_element.rb,
lib/minidown/elements/dividing_line_element.rb

Defined Under Namespace

Modules: HtmlHelper, Utils Classes: BlockElement, CodeBlockElement, DividingLineElement, Document, Element, HtmlElement, IndentCodeElement, LineElement, ListElement, ListGroupElement, OrderListElement, ParagraphElement, Parser, RawHtmlElement, TableElement, TextElement, UnorderListElement

Constant Summary collapse

VERSION =
"2.1.1"

Class Method Summary collapse

Class Method Details

.render(str, options = {}) ⇒ Object



9
10
11
# File 'lib/minidown.rb', line 9

def render str, options = {}
  Parser.new(options).render str
end