markdown2 :: MdBlockQuote :: defaultinit
markdown2 $ MdBlockQuote :: SELF
Type of this instance, automatically specialized in every classmarkdown2 $ MdBlockQuote :: can_contain
Can this block containblock
?
markdown2 $ MdBlockQuote :: is_container
Can this block contain other blocks?markdown2 $ MdBlockQuote :: is_container=
Can this block contain other blocks?markdown2 :: markdown_html_rendering $ MdBlockQuote :: render_html
Renderself
as HTML
markdown2 :: markdown_latex_rendering $ MdBlockQuote :: render_latex
Renderself
as HTML
markdown2 :: markdown_man_rendering $ MdBlockQuote :: render_man
Renderself
as Manpage format
markdown2 :: markdown_md_rendering $ MdBlockQuote :: 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 :: MdBlockQuote :: defaultinit
core :: Object :: defaultinit
markdown2 :: MdNode :: 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 block quote
class MdBlockQuote
super MdBlock
redef var is_container = true
redef fun can_contain(block) do return true
end
lib/markdown2/markdown_ast.nit:214,1--221,3
redef class MdBlockQuote
redef fun render_html(v) do
v.add_line
v.add_raw "<blockquote>"
v.add_line
visit_all(v)
v.add_line
v.add_raw "</blockquote>"
v.add_line
end
end
lib/markdown2/markdown_html_rendering.nit:190,1--200,3
redef class MdBlockQuote
redef fun render_latex(v) do
v.add_line
v.add_indent
v.add_raw "\\begin\{quote\}"
v.add_line
v.indent += 2
visit_all(v)
v.indent -= 2
v.add_line
v.add_indent
v.add_raw "\\end\{quote\}"
v.add_line
end
end
lib/markdown2/markdown_latex_rendering.nit:174,1--188,3