Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/markdown_it/rules_core/inline.py: 86%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

7 statements  

1from .state_core import StateCore 

2 

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)