(context)
| 49 | } |
| 50 | |
| 51 | export function createMinimalProcessor(context) { |
| 52 | return unified() |
| 53 | .use(process.env.COMMONMARK ? markdownNext : markdown) |
| 54 | .use(process.env.COMMONMARK ? gfm : null) |
| 55 | .use(remark2rehype, { allowDangerousHtml: true }) |
| 56 | .use(slug) |
| 57 | .use(raw) |
| 58 | .use(rewriteLocalLinks, context) |
| 59 | .use(html) |
| 60 | } |
nothing calls this directly
no outgoing calls
no test coverage detected