codekingpro/portable-devtools
114k
1from .state_core import StateCore2 3 4def inline(state: StateCore) -> None:5 """Parse inlines"""6 for token in state.tokens:7 if token.type == "inline":8 if token.children is None:9 token.children = []10 state.md.inline.parse(token.content, state.md, state.env, token.children)11 