Skip to main content

can_start_raw_block

Function can_start_raw_block 

Source
pub fn can_start_raw_block(content: &str, config: &ParserOptions) -> bool
Expand description

Check if content could start a raw TeX block.

Requirements:

  • raw_tex extension must be enabled
  • Line must start with backslash followed by a letter
  • If it’s a \begin{env}, the environment must NOT be an inline math env