InlineDecorator does not decorate things like paragraphs or headers.
markdown $ InlineDecorator :: SELF
Type of this instance, automatically specialized in every classmarkdown $ InlineDecorator :: add_headline
Render a headline block with corresponding level.markdown $ InlineDecorator :: add_paragraph
Render a paragraph block.markdown :: Decorator :: add_blockquote
Render a blockquote.markdown :: Decorator :: add_headline
Render a headline block with corresponding level.markdown :: Decorator :: add_line_break
Render a line breakmarkdown :: Decorator :: add_listitem
Render a list item.markdown :: Decorator :: add_orderedlist
Render an ordered list.markdown :: Decorator :: add_paragraph
Render a paragraph block.markdown :: Decorator :: add_span_code
Render a code span reading from a buffer.markdown :: Decorator :: add_strike
Render a strike text.markdown :: Decorator :: add_strong
Render a strong text.markdown :: Decorator :: add_unorderedlist
Render an unordered list.markdown :: Decorator :: add_wikilink
Renders a[[wikilink]]
item.
markdown :: Decorator :: append_code
Render code text from buffer and escape it.markdown :: Decorator :: append_value
Render a text and escape it.core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
markdown :: Decorator :: defaultinit
markdown :: HTMLDecorator :: defaultinit
core :: Object :: defaultinit
markdown :: Decorator :: escape_char
Render a character escape.markdown :: HTMLDecorator :: headlines=
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.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# Decorator for span elements.
#
# InlineDecorator does not decorate things like paragraphs or headers.
class InlineDecorator
super HTMLDecorator
redef fun add_paragraph(v, block) do v.emit_in block
redef fun add_headline(v, block) do v.emit_in block
redef fun add_code(v, block) do
v.add "<code>"
v.emit_in block
v.add "</code>"
end
end
lib/markdown/decorators.nit:189,1--203,3