MCPcopy Index your code
hub / github.com/marijnh/Eloquent-JavaScript / heading_open

Function heading_open

src/render_html.mjs:113–113  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

111 paragraph_close() { return "</p>" },
112
113 heading_open(token) { return `\n\n<${token.tag}${attrs(token)}>${anchor(token)}` },
114 heading_close(token) { return `</${token.tag}>` },
115
116 bullet_list_open(token) { return `\n\n<ul${attrs(token)}>` },

Callers

nothing calls this directly

Calls 2

attrsFunction · 0.85
anchorFunction · 0.85

Tested by

no test coverage detected