// src/plugin/markdown-renderer-impl.ts /** * Real markdown rendering pipeline for MarkdownRenderer.render() and * MarkdownPostProcessor invocation. * * Uses `marked` as the rendering engine. This is NOT for the CM6 editor's * live preview -- this is for popovers, embeds, and any context where * markdown source needs to be rendered to static HTML. * * Security: * - marked's default `html` renderer is overridden so raw HTML in source * becomes escaped `
` blocks (no XSS via inline `