Skip to main content

try_parse_code_span

Function try_parse_code_span 

Source
pub fn try_parse_code_span(
    text: &str,
) -> Option<(usize, &str, usize, Option<AttributeBlock>)>
Expand description

Try to parse a code span starting at the current position. Returns (total_len, code_content, backtick_count, optional_attributes) if successful.