diff options
Diffstat (limited to 'src/construct')
-rw-r--r-- | src/construct/gfm_label_start_footnote.rs | 5 | ||||
-rw-r--r-- | src/construct/raw_flow.rs | 5 | ||||
-rw-r--r-- | src/construct/raw_text.rs | 1 |
3 files changed, 5 insertions, 6 deletions
diff --git a/src/construct/gfm_label_start_footnote.rs b/src/construct/gfm_label_start_footnote.rs index a3a0df6..c123bfc 100644 --- a/src/construct/gfm_label_start_footnote.rs +++ b/src/construct/gfm_label_start_footnote.rs @@ -20,8 +20,9 @@ //! //! ## Tokens //! -//! * [`LabelImage`][Name::LabelImage] -//! * To do. +//! * [`GfmFootnoteCallLabel`][Name::GfmFootnoteCallLabel] +//! * [`GfmFootnoteCallMarker`][Name::GfmFootnoteCallMarker] +//! * [`LabelMarker`][Name::LabelMarker] //! //! ## References //! diff --git a/src/construct/raw_flow.rs b/src/construct/raw_flow.rs index 7eaac0c..395d0ae 100644 --- a/src/construct/raw_flow.rs +++ b/src/construct/raw_flow.rs @@ -143,7 +143,7 @@ use crate::event::{Content, Link, Name}; use crate::state::{Name as StateName, State}; use crate::tokenizer::Tokenizer; use crate::util::{ - constant::{CODE_FENCED_SEQUENCE_SIZE_MIN, TAB_SIZE}, + constant::{CODE_FENCED_SEQUENCE_SIZE_MIN, MATH_FLOW_SEQUENCE_SIZE_MIN, TAB_SIZE}, slice::{Position, Slice}, }; @@ -253,10 +253,9 @@ pub fn sequence_open(tokenizer: &mut Tokenizer) -> State { tokenizer.consume(); State::Next(StateName::RawFlowSequenceOpen) } - // To do: constant. else if tokenizer.tokenize_state.size < (if tokenizer.tokenize_state.marker == b'$' { - 2 + MATH_FLOW_SEQUENCE_SIZE_MIN } else { CODE_FENCED_SEQUENCE_SIZE_MIN }) diff --git a/src/construct/raw_text.rs b/src/construct/raw_text.rs index 1a4d03c..6a35608 100644 --- a/src/construct/raw_text.rs +++ b/src/construct/raw_text.rs @@ -112,7 +112,6 @@ //! [text]: crate::construct::text //! [code_indented]: crate::construct::code_indented //! [raw_flow]: crate::construct::raw_flow -//! [math_flow]: # "to do" //! [html_code]: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-code-element use crate::event::Name; |