Function group_setext_heading_one

Source
fn group_setext_heading_one(
    blocks: &mut Vec<Vec<Token>>,
    previous_block: &mut Vec<Token>,
)
Expand description

Groups Setext heading 1 lines into a block by prepending the previous block with “# “.

§Arguments

  • blocks - A mutable reference to a vector of blocks, where each block is a vector of tokens.
  • previous_block - A mutable reference to the previous block, which is modified to become a Setext heading 1.