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

Function plugin

src/markdown.mjs:170–176  ·  view source on GitHub ↗
(md)

Source from the content-addressed store, hash-verified

168}
169
170function plugin(md) {
171 md.block.ruler.before("code", "meta", parseBlockMeta)
172 md.block.ruler.before("code", "table", parseBlockTable)
173 md.inline.ruler.before("link", "meta", parseInlineMeta)
174 md.inline.ruler.at("text", newText)
175 md.inline.ruler.before("strikethrough", "index_term", parseIndexTerm)
176}
177
178import sup from "markdown-it-sup"
179import sub from "markdown-it-sub"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected