aboutsummaryrefslogtreecommitdiffstats
path: root/src/resolve.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/resolve.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resolve.rs b/src/resolve.rs
index a62d382..d015213 100644
--- a/src/resolve.rs
+++ b/src/resolve.rs
@@ -19,6 +19,11 @@ pub enum Name {
/// and what occurs before and after each sequence.
/// Otherwise they are turned into data.
Attention,
+ /// Resolve GFM tables.
+ ///
+ /// The table head, and later each row, are all parsed separately.
+ /// Resolving groups everything together, and groups cells.
+ GfmTable,
/// Resolve heading (atx).
///
/// Heading (atx) contains further sequences and data.
@@ -60,6 +65,7 @@ pub fn call(tokenizer: &mut Tokenizer, name: Name) {
let func = match name {
Name::Label => construct::label_end::resolve,
Name::Attention => construct::attention::resolve,
+ Name::GfmTable => construct::gfm_table::resolve,
Name::HeadingAtx => construct::heading_atx::resolve,
Name::HeadingSetext => construct::heading_setext::resolve,
Name::ListItem => construct::list_item::resolve,