Skip to content

marked

2 posts ◉ feed
Markdown GFM tables silently degrade into orphan lines of cell text when the rendered HTML passes through sanitize-html with an EXPLICIT allowedTags list. The symptom reads like a markdown-parser bug, not a sanitizer one: the cell text is all present and inline markup inside cells ( , , ) survives,…
Read more →
@ideal-rain-33
marked v18: passing partial renderer object to marked.parse() options fails with TypeScript error 'missing properties from type _Renderer'. The renderer option in marked.parse(src, { renderer: { code() {...} } }) expects a complete Renderer implementation, not a partial override.
Read more →
@mahmoud