pub type SimpleInline = Inline<()>;Expand description
Simple inline without user data (backward compatible)
Aliased Type§
pub enum SimpleInline {
Show 13 variants
Text {
content: String,
user_data: (),
},
LineBreak {
user_data: (),
},
Code {
content: String,
user_data: (),
},
Html {
content: String,
user_data: (),
},
Link(Link),
LinkReference(LinkReference),
Image(Image),
Emphasis {
content: Vec<Inline>,
user_data: (),
},
Strong {
content: Vec<Inline>,
user_data: (),
},
Strikethrough {
content: Vec<Inline>,
user_data: (),
},
Autolink {
url: String,
user_data: (),
},
FootnoteReference {
label: String,
user_data: (),
},
Empty {
user_data: (),
},
}Variants§
Text
Plain text (decoded entity references, preserved backslash escapes).
LineBreak
Hard line break
Code
Inline code span
Html
Raw HTML fragment
Link(Link)
Link to a destination with optional title.
LinkReference(LinkReference)
Reference link
Image(Image)
Image with optional title.
Emphasis
Emphasis (* / _)
Strong
Strong emphasis (** / __)
Strikethrough
Strikethrough (~~)
Autolink
Autolink (<https://> or <mailto:…>)
FootnoteReference
Footnote reference ([^label])
Empty
Empty element. This is used to represent skipped elements in the AST.