Exporting Canvas to HTML (and PDF) - Share & showcase - Obsidian Forum
I developed a script to export a canvas to HTML. Then you can open the HTML file in your browser and print to PDF. Any external links in your canvas will be clickable in the PDF. First, open your canvas in Obsidian and zoom/pan to whatever view you want to export. Then open Developer Tools and run this script: // Get a copy of the canvas content element let view = app.workspace.activeLeaf.view; if (view.getViewType() !== "canvas") { throw new Error("The active view is not a canvas"); } let c...