SVG Crowbar for Observable?

SVG Crowbar, a tool to save SVG’s generated in the browser, doesn’t work in Observable notebooks. I’d really love a way to save my Observable SVG’s as a file somehow.

Sure. You can do what SVG Crowbar (or SVJimmy) does inside your notebook. Here’s an example:

https://beta.observablehq.com/@mbostock/saving-svg

1 Like

If one has a dependency on a CSS, how does one include it? The following notebook (thanks for the previous help @mbostock) displays fine, but the downloads lack the CSS styling.

https://beta.observablehq.com/@sdwfrost/displaying-phylogenetic-trees-with-phylotree-js/4