aboutsummaryrefslogtreecommitdiffstats
path: root/src/tokenizer.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-16 19:04:16 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-16 19:04:16 +0200
commit60ea2fd3a09f10fa28bf48575736b47afebf3221 (patch)
treef7aae5cec9181f7ff5df23e648fe1da22a94209f /src/tokenizer.rs
parentef14d6581848ba5052d3389bb61fc96645551eef (diff)
downloadmarkdown-rs-60ea2fd3a09f10fa28bf48575736b47afebf3221.tar.gz
markdown-rs-60ea2fd3a09f10fa28bf48575736b47afebf3221.tar.bz2
markdown-rs-60ea2fd3a09f10fa28bf48575736b47afebf3221.zip
Add heading (setext)
Diffstat (limited to '')
-rw-r--r--src/tokenizer.rs11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs
index 0aae480..fc9e177 100644
--- a/src/tokenizer.rs
+++ b/src/tokenizer.rs
@@ -24,10 +24,6 @@ pub enum TokenType {
AutolinkMarker,
AutolinkProtocol,
AutolinkEmail,
- AtxHeading,
- AtxHeadingSequence,
- AtxHeadingWhitespace,
- AtxHeadingText,
BlankLineEnding,
BlankLineWhitespace,
CharacterEscape,
@@ -58,6 +54,13 @@ pub enum TokenType {
HardBreakEscapeMarker,
HardBreakTrailing,
HardBreakTrailingSpace,
+ HeadingAtx,
+ HeadingAtxSequence,
+ HeadingAtxWhitespace,
+ HeadingAtxText,
+ HeadingSetext,
+ HeadingSetextText,
+ HeadingSetextUnderline,
HtmlFlow,
HtmlFlowData,
HtmlText,