parse_sphinx_code_block

Function parse_sphinx_code_block 

Source
pub fn parse_sphinx_code_block(
    src_lines: &Vec<String>,
    doctree: DocTree,
    line_cursor: &mut LineCursor,
    base_indent: usize,
    empty_after_marker: bool,
    body_indent: usize,
    first_indent: Option<usize>,
) -> TransitionResult
Expand description

A parser for the Sphinx-specific code-block directive. See https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-code-block for explanations of different settings and arguments.