MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / _render_inline_container

Function _render_inline_container

openkb/agent/_markdown.py:87–94  ·  view source on GitHub ↗
(node: Any)

Source from the content-addressed store, hash-verified

85
86
87def _render_inline_container(node: Any) -> Text:
88 if not node.children:
89 return Text("")
90 inline = node.children[0]
91 out = Text()
92 for child in inline.children or []:
93 _append_inline(child, out)
94 return out
95
96
97def _append_inline(node: Any, out: Text) -> None:

Callers 3

_render_blockFunction · 0.85
_render_listFunction · 0.85
_render_tableFunction · 0.85

Calls 1

_append_inlineFunction · 0.85

Tested by

no test coverage detected