markdown2 :: MdDocument :: defaultinit
markdown2 $ MdDocument :: SELF
Type of this instance, automatically specialized in every classmarkdown2 $ MdDocument :: can_contain
Can this block containblock?
			markdown2 $ MdDocument :: is_container
Can this block contain other blocks?markdown2 $ MdDocument :: is_container=
Can this block contain other blocks?markdown2 :: markdown_latex_rendering $ MdDocument :: render_latex
Renderself as HTML
			markdown2 :: markdown_md_rendering $ MdDocument :: render_md
Renderself as Markdown
			markdown2 :: MdBlock :: can_contain
Can this block containblock?
			core :: Object :: class_factory
Implementation used byget_class to create the specific class.
			markdown2 :: MdBlock :: defaultinit
markdown2 :: MdDocument :: defaultinit
markdown2 :: MdNode :: defaultinit
core :: Object :: defaultinit
markdown2 :: MdBlock :: is_container=
Can this block contain other blocks?core :: Object :: is_same_instance
Return true ifself and other are the same instance (i.e. same identity).
			core :: Object :: is_same_serialized
Isself the same as other in a serialization context?
			core :: Object :: is_same_type
Return true ifself and other have the same dynamic type.
			markdown2 :: MdNode :: location=
Node location in original markdowncore :: Object :: output_class_name
Display class name on stdout (debug only).markdown2 :: MdNode :: post_process
Accept the visit of aMdPostProcessor
			markdown2 :: MdNode :: render_raw_text
Renderself as raw text
			
# A Markdown document
class MdDocument
	super MdBlock
	redef var is_container = true
	redef fun can_contain(block) do return true
end
					lib/markdown2/markdown_ast.nit:205,1--212,3
				
redef class MdDocument
	redef fun render_latex(v) do
		var wrap_document = v.wrap_document
		if v.wrap_document then
			v.add_line
			v.add_raw "\\documentclass[{v.page_format},{v.font_size}]\{{v.document_class}\}\n\n"
			v.add_raw "\\usepackage[utf8]\{inputenc\}\n"
			if v.use_listings then
				v.add_raw "\\usepackage\{listings\}\n"
			end
			v.add_raw "\\usepackage\{hyperref\}\n"
			v.add_raw "\\usepackage\{graphicx\}\n"
			v.add_raw "\\usepackage\{ulem\}\n\n"
			v.add_raw "\\begin\{document\}\n\n"
		end
		var node = first_child
		while node != null do
			v.enter_visit node
			node = node.next
			if node != null then v.add_raw "\n"
		end
		if wrap_document then
			v.add_raw "\n\\end\{document\}\n"
		end
	end
end
					lib/markdown2/markdown_latex_rendering.nit:121,1--146,3
				
redef class MdDocument
	redef fun render_md(v) do
		var node = first_child
		while node != null do
			v.enter_visit(node)
			node = node.next
			if node != null then
				v.add_line
			end
		end
	end
end
					lib/markdown2/markdown_md_rendering.nit:77,1--88,3