markdown_it.parser_inline module

Tokenizes paragraph content.

class markdown_it.parser_inline.ParserInline[源代码]

基类:object

parse(src: str, md, env, tokens: List[markdown_it.token.Token]) List[markdown_it.token.Token][源代码]

Process input string and push inline tokens into tokens

skipToken(state: markdown_it.rules_inline.state_inline.StateInline) None[源代码]

Skip single token by running all rules in validation mode; returns True if any rule reported success

tokenize(state: markdown_it.rules_inline.state_inline.StateInline) None[源代码]

Generate tokens for input range.