Skip to main content

Mermaid, Echarts, Tables and HTML

Coming soon.

HTML Preview

When an LLM responds with an HTML code block (```html), Sparky renders it as a live preview instead of showing raw code. This works for both full HTML documents and partial snippets.

  • Live preview — HTML is rendered in a sandboxed iframe with auto-resizing
  • Source toggle — Switch between the rendered preview and syntax-highlighted source code
  • Safe by default<script> tags and inline event handlers are stripped before rendering
  • Print-friendly — When printing a conversation, HTML blocks render as inline content instead of iframes