From 60ea2fd3a09f10fa28bf48575736b47afebf3221 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 16 Jun 2022 19:04:16 +0200 Subject: Add heading (setext) --- src/tokenizer.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/tokenizer.rs') 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, -- cgit