Enum pandoc_ast::Inline
[−]
[src]
pub enum Inline { Str(String), Emph(Vec<Inline>), Strong(Vec<Inline>), Strikeout(Vec<Inline>), Superscript(Vec<Inline>), Subscript(Vec<Inline>), SmallCaps(Vec<Inline>), Quoted(QuoteType, Vec<Inline>), Cite(Vec<Citation>, Vec<Inline>), Code(Attr, String), Space, SoftBreak, LineBreak, Math(MathType, String), RawInline(Format, String), Link(Attr, Vec<Inline>, Target), Image(Attr, Vec<Inline>, Target), Note(Vec<Block>), Span(Attr, Vec<Inline>), }
a single formatting item like bold, italic or hyperlink
Variants
Str(String)
Text
Emph(Vec<Inline>)
Emphasized text
Strong(Vec<Inline>)
Strongly emphasized text
Strikeout(Vec<Inline>)
Superscript(Vec<Inline>)
Subscript(Vec<Inline>)
SmallCaps(Vec<Inline>)
Quoted(QuoteType, Vec<Inline>)
Quoted text
Cite(Vec<Citation>, Vec<Inline>)
Citation
Code(Attr, String)
Inline code (literal)
Space
Inter-word space
SoftBreak
Soft line break
LineBreak
Hard line break
Math(MathType, String)
TeX math (literal)
RawInline(Format, String)
Link(Attr, Vec<Inline>, Target)
Hyperlink: text (list of inlines), target
Image(Attr, Vec<Inline>, Target)
Image: alt text (list of inlines), target
Note(Vec<Block>)
Footnote or endnote
Span(Attr, Vec<Inline>)
Generic inline container with attributes