Source code for markdown_it.rules_core.inline

from .state_core import StateCore


[docs]def inline(state: StateCore) -> None: """Parse inlines""" for token in state.tokens: if token.type == "inline": if token.children is None: token.children = [] state.md.inline.parse(token.content, state.md, state.env, token.children)