MCPcopy Create free account
hub / github.com/marijnh/Eloquent-JavaScript / text

Function text

src/render_latex.mjs:94–98  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

92 softbreak() { return " " },
93
94 text(token) {
95 let {content} = token
96 if (linkedChapter != null) content = content.replace(/\?/g, linkedChapter)
97 return raw ? content : escape(content)
98 },
99
100 paragraph_open(token, i, tokens, newlines) {
101 let noIndent = ""

Callers

nothing calls this directly

Calls 1

escapeFunction · 0.70

Tested by

no test coverage detected