Method: MaRuKu::Out::HTML#to_html_document
- Defined in:
- lib/maruku/output/to_html.rb
#to_html_document(context = {}) ⇒ Object
Render to a complete HTML document (returns a string)
82 83 84 85 86 87 |
# File 'lib/maruku/output/to_html.rb', line 82 def to_html_document(context={}) doc = to_html_document_tree xml = doc.to_s Xhtml11_mathml2_svg11 + xml end |