markdown-svg-renderer: Render Markdown with SVG code blocks
Integrate markdown-svg-renderer into documentation to preview SVG code blocks.
Integrate markdown-svg-renderer into documentation workflow to preview SVGs.
Summary
markdown-svg-renderer is a lightweight tool that renders Markdown files with special handling for fenced SVG code blocks. It can accept raw Markdown or a URL to a CORS‑enabled Markdown file or Gist, rendering the SVG image and providing a tab to switch to the raw code view. The tool is demonstrated with a Gist containing LLM pelican logs for Claude Opus 4.8. It offers a convenient way to preview SVGs directly in the browser without manual conversion. The renderer supports standard Markdown syntax and can be integrated into documentation workflows. It is hosted at tools.simonwillison.net and can be used via a simple URL query parameter.
Key changes
- Renders Markdown with SVG code blocks.
- Provides tab to switch to code view.
- Accepts URL to CORS‑enabled Markdown or Gist.
- Demonstrated with pelican logs.
- Hosted at tools.simonwillison.net.