aboutsummaryrefslogtreecommitdiffstats
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/state.rs b/src/state.rs
index da935d1..65ffbeb 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -145,6 +145,12 @@ pub enum Name {
FrontmatterCloseSequence,
FrontmatterCloseAfter,
+ GfmTaskListItemCheckStart,
+ GfmTaskListItemCheckInside,
+ GfmTaskListItemCheckClose,
+ GfmTaskListItemCheckAfter,
+ GfmTaskListItemCheckAfterSpaceOrTab,
+
HardBreakEscapeStart,
HardBreakEscapeAfter,
@@ -444,6 +450,14 @@ pub fn call(tokenizer: &mut Tokenizer, name: Name) -> State {
Name::FrontmatterCloseSequence => construct::frontmatter::close_sequence,
Name::FrontmatterCloseAfter => construct::frontmatter::close_after,
+ Name::GfmTaskListItemCheckStart => construct::gfm_task_list_item_check::start,
+ Name::GfmTaskListItemCheckInside => construct::gfm_task_list_item_check::inside,
+ Name::GfmTaskListItemCheckClose => construct::gfm_task_list_item_check::close,
+ Name::GfmTaskListItemCheckAfter => construct::gfm_task_list_item_check::after,
+ Name::GfmTaskListItemCheckAfterSpaceOrTab => {
+ construct::gfm_task_list_item_check::after_space_or_tab
+ }
+
Name::HardBreakEscapeStart => construct::hard_break_escape::start,
Name::HardBreakEscapeAfter => construct::hard_break_escape::after,