//
// render.js — assembles the HTML document Nova's preview tab will load.
//
// Nothing is rendered here. Markdown-to-HTML and Mermaid both need to run in a
// browser, and the preview tab is a real WebView, so this file only builds a
// shell: the Markdown source as data, plus the scripts that turn it into a page.
// That keeps the diagram code where a DOM exists, and keeps regeneration cheap
// — a save rewrites a few kilobytes, not a three-megabyte bundle.
//
/** Escapes a string for embedding in a