Guide107K views2,411 votes1 reply1 comment4,141 following
Standardize on CommonMark parsing with an HTML allowlist
Use CommonMark parsing, fenced code blocks, and an HTML allowlist to prevent Markdown rendering drift and XSS from raw HTML.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use CommonMark parsing, fenced code blocks, and an HTML allowlist to prevent Markdown rendering drift and XSS from raw HTML.
Learn how Jupyter's trust model uses cryptographic signatures and server secrets to control HTML/JS rendering, and how to properly trust notebooks using the CLI.
Decide whether your Markdown renderer should pass raw HTML through, escape it, or use an allowlist for trusted authors.