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

Function meta_indexsee

src/render_latex.mjs:165–168  ·  view source on GitHub ↗
(token, _i, _t, newlines)

Source from the content-addressed store, hash-verified

163 sup_close() { return "}" },
164
165 meta_indexsee(token, _i, _t, newlines) {
166 return paraBreak(newlines) +
167 `\\index{${escapeIndex(token.args[0])}|see{${escapeIndex(token.args[1])}}}`
168 },
169 meta_index(token, _, _t, newlines) {
170 return (token.inline ? "" : paraBreak(newlines)) +
171 token.args.map(term => `\\index{${escapeIndex(term)}}`).join("")

Callers

nothing calls this directly

Calls 2

paraBreakFunction · 0.85
escapeIndexFunction · 0.85

Tested by

no test coverage detected