Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
inline.py11 linesDownload Raw Back to rules_core
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 
codekingpro/portable-devtools · Team Ai