#[repr(u16)]pub enum MarkdownElementType {
Show 60 variants
Root = 0,
Paragraph = 1,
Table = 2,
Heading1 = 3,
Heading2 = 4,
Heading3 = 5,
Heading4 = 6,
Heading5 = 7,
Heading6 = 8,
Blockquote = 9,
CodeBlock = 10,
List = 11,
ListItem = 12,
HorizontalRule = 13,
MathBlock = 14,
FrontMatter = 15,
FootnoteDefinition = 16,
Text = 17,
Whitespace = 18,
Newline = 19,
HeadingText = 20,
Emphasis = 21,
Strong = 22,
Strikethrough = 23,
InlineCode = 24,
CodeFence = 25,
CodeLanguage = 26,
Link = 27,
LinkText = 28,
LinkUrl = 29,
LinkTitle = 30,
Image = 31,
ImageAlt = 32,
ImageUrl = 33,
ImageTitle = 34,
UnorderedList = 35,
OrderedList = 36,
ListMarker = 37,
TaskList = 38,
TaskMarker = 39,
BlockquoteMarker = 40,
TableRow = 41,
TableCell = 42,
TableHeader = 43,
TableSeparator = 44,
TableAlignment = 45,
MathInline = 46,
FootnoteReference = 47,
DefinitionList = 48,
DefinitionTerm = 49,
DefinitionDescription = 50,
Superscript = 51,
Subscript = 52,
Abbreviation = 53,
HtmlTag = 54,
HtmlComment = 55,
XmlTag = 56,
XmlComment = 57,
AutoLink = 58,
Error = 59,
}Expand description
Element types for the Markdown language.
Variants§
Root = 0
The root of the document.
Paragraph = 1
A paragraph of text.
Table = 2
A table.
Heading1 = 3
Heading level 1.
Heading2 = 4
Heading level 2.
Heading3 = 5
Heading level 3.
Heading4 = 6
Heading level 4.
Heading5 = 7
Heading level 5.
Heading6 = 8
Heading level 6.
Blockquote = 9
A blockquote.
CodeBlock = 10
A code block.
List = 11
A list.
ListItem = 12
A list item.
HorizontalRule = 13
A horizontal rule.
MathBlock = 14
A math block.
FrontMatter = 15
Front matter.
FootnoteDefinition = 16
A footnote definition.
Text = 17
Plain text.
Whitespace = 18
Whitespace.
Newline = 19
A newline.
HeadingText = 20
The text of a heading.
Emphasis = 21
Emphasized text.
Strong = 22
Strong text.
Strikethrough = 23
Strikethrough text.
InlineCode = 24
Inline code.
CodeFence = 25
A code fence.
CodeLanguage = 26
A code language identifier.
Link = 27
A link.
LinkText = 28
The text of a link.
LinkUrl = 29
The URL of a link.
LinkTitle = 30
The title of a link.
Image = 31
An image.
ImageAlt = 32
The alt text of an image.
ImageUrl = 33
The URL of an image.
ImageTitle = 34
The title of an image.
UnorderedList = 35
An unordered list.
OrderedList = 36
An ordered list.
ListMarker = 37
A list marker.
TaskList = 38
A task list.
TaskMarker = 39
A task marker.
BlockquoteMarker = 40
A blockquote marker.
TableRow = 41
A table row.
TableCell = 42
A table cell.
TableHeader = 43
A table header cell.
TableSeparator = 44
A table separator.
TableAlignment = 45
Table alignment information.
MathInline = 46
Inline math.
FootnoteReference = 47
A footnote reference.
DefinitionList = 48
A definition list.
DefinitionTerm = 49
A definition term.
DefinitionDescription = 50
A definition description.
Superscript = 51
Superscript text.
Subscript = 52
Subscript text.
Abbreviation = 53
An abbreviation.
HtmlTag = 54
An HTML tag.
HtmlComment = 55
An HTML comment.
XmlTag = 56
An XML tag.
XmlComment = 57
An XML comment.
AutoLink = 58
An automatic link (HTTP/HTTPS URL).
Error = 59
An error element.
Trait Implementations§
Source§impl Clone for MarkdownElementType
impl Clone for MarkdownElementType
Source§fn clone(&self) -> MarkdownElementType
fn clone(&self) -> MarkdownElementType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more