markdown_it.parser_block module¶
Block-level tokenizer.
- class markdown_it.parser_block.ParserBlock[源代码]¶
基类:
object
ParserBlock#ruler -> Ruler
[[Ruler]] instance. Keep configuration of block rules.
- parse(src: str, md, env, outTokens: List[markdown_it.token.Token], ords: Optional[Tuple[int, ...]] = None) Optional[List[markdown_it.token.Token]] [源代码]¶
Process input string and push block tokens into outTokens.