Introduction
Maruku is a Markdown interpreter for Ruby. It allows for exporting Markdown to HTML and PDF.
Syntax
- Maruku.new(str) => parses Markdown into a Maruku object
- Maruku#to_html_document => returns the Maruku object as a full HTML document (as a string)
Parameters
Parameter | Usage |
---|
str | Markdown string to be parsed |