\\n
or \n
)markdown2 :: MdHardLineBreak :: has_backslash
Does this line break used a backslash in the original source?markdown2 :: MdHardLineBreak :: has_backslash=
Does this line break used a backslash in the original source?markdown2 $ MdHardLineBreak :: SELF
Type of this instance, automatically specialized in every classmarkdown2 :: markdown_html_rendering $ MdHardLineBreak :: render_html
Renderself
as HTML
markdown2 :: markdown_md_rendering $ MdHardLineBreak :: render_md
Renderself
as Markdown
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
markdown2 :: MdLineBreak :: defaultinit
markdown2 :: MdNode :: defaultinit
markdown2 :: MdHardLineBreak :: has_backslash
Does this line break used a backslash in the original source?markdown2 :: MdHardLineBreak :: has_backslash=
Does this line break used a backslash in the original source?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 hardline break (`\\n` or ` \n`)
class MdHardLineBreak
super MdLineBreak
# Does this line break used a backslash in the original source?
var has_backslash: Bool
end
lib/markdown2/markdown_ast.nit:368,1--374,3
redef class MdHardLineBreak
redef fun render_html(v) do
v.add_raw "<br />"
v.add_line
end
end
lib/markdown2/markdown_html_rendering.nit:337,1--342,3