Skip to main content

check_embedded_markdown_blocks

Function check_embedded_markdown_blocks 

Source
pub fn check_embedded_markdown_blocks(
    content: &str,
    rules: &[Box<dyn Rule>],
    config: &Config,
) -> Vec<LintWarning>
Expand description

Check markdown content embedded in fenced code blocks with markdown or md language.

Detects markdown code blocks and runs lint checks on their content, returning warnings with adjusted line numbers that point to the correct location in the parent file.