MCPcopy Create free account
hub / github.com/NVIDIA/NeMo-Relay / _escape_text

Function _escape_text

scripts/docs/generate_node_library_reference.py:95–98  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

93
94
95def _escape_text(value: str) -> str:
96 value = value.replace("``", "`")
97 value = value.replace("→", "->")
98 return escape_mdx_text(value, preserve_ascii_arrows=True)
99
100
101def _collapse_words(value: str) -> str:

Callers 4

_paragraphsFunction · 0.70
_parse_jsdocFunction · 0.70
_write_indexFunction · 0.70
_write_moduleFunction · 0.70

Calls 1

escape_mdx_textFunction · 0.90

Tested by

no test coverage detected