MCPcopy
hub / github.com/vinta/awesome-python / render_inline_html

Function render_inline_html

website/readme_parser.py:96–98  ·  view source on GitHub ↗

Render inline AST nodes to HTML with proper escaping.

(children: list[SyntaxTreeNode])

Source from the content-addressed store, hash-verified

94
95
96def render_inline_html(children: list[SyntaxTreeNode]) -> str:
97 """Render inline AST nodes to HTML with proper escaping."""
98 return _render_inline(children, html=True)
99
100
101def render_inline_text(children: list[SyntaxTreeNode]) -> str:

Callers 9

test_link_with_targetMethod · 0.90
test_emphasisMethod · 0.90
test_strongMethod · 0.90
test_code_inlineMethod · 0.90
_build_sectionFunction · 0.85
_parse_sponsor_itemFunction · 0.85

Calls 1

_render_inlineFunction · 0.85

Tested by 6

test_link_with_targetMethod · 0.72
test_emphasisMethod · 0.72
test_strongMethod · 0.72
test_code_inlineMethod · 0.72