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

Function render_inline_text

website/readme_parser.py:101–103  ·  view source on GitHub ↗

Render inline AST nodes to plain text (links become their text).

(children: list[SyntaxTreeNode])

Source from the content-addressed store, hash-verified

99
100
101def render_inline_text(children: list[SyntaxTreeNode]) -> str:
102 """Render inline AST nodes to plain text (links become their text)."""
103 return _render_inline(children, html=False)
104
105
106# --- AST helpers -------------------------------------------------------------

Callers 11

test_plain_textMethod · 0.90
test_code_inline_keptMethod · 0.90
_heading_textFunction · 0.85
_parse_list_entriesFunction · 0.85
_build_sectionFunction · 0.85
_is_bold_markerFunction · 0.85
_parse_sponsor_itemFunction · 0.85

Calls 1

_render_inlineFunction · 0.85

Tested by 6

test_plain_textMethod · 0.72
test_code_inline_keptMethod · 0.72