blob: c3fd0b5e25dda5d8a5a644cc9e460d0f92ae2d1d [file] [log] [blame]
from .state_core import StateCore
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)