Class MaRuKu::MDDocument
In: lib/maruku/ext/math/parsing.rb
lib/maruku/input_textile2/t2_parser.rb
lib/maruku/output/s5/to_s5.rb
lib/maruku/output/to_latex.rb
lib/maruku/output/to_markdown.rb
lib/maruku/structures.rb
lib/maruku/toc.rb
lib/maruku.rb
Parent: Object

This represents the whole document and holds global data.

Methods

Included Modules

In::Markdown In::Markdown::SpanLevelParser In::Markdown::BlockLevelParser

Constants

Handling = Struct.new(:method, :parse_lines)
T2_Handling = { nil => Handling.new(:t2_block_paragraph, true), 'p' => Handling.new(:t2_block_paragraph, true)
Latex_preamble_enc_cjk = "\\usepackage[C40]{fontenc} \\usepackage[cjkjis]{ucs} \\usepackage[utf8x]{inputenc}"
Latex_preamble_enc_utf8 = "\\usepackage{ucs} \\usepackage[utf8x]{inputenc}"

External Aliases

to_md -> old_md

Attributes

toc  [RW]  an instance of Section (see below)

Public Class methods

Public Instance methods

Input is a LineSource

Render as a LaTeX fragment

Render as a complete LaTeX document

Render as an HTML fragment (no head, just the content of BODY). (returns a string)

[Validate]