SVG download on notebook, but not with runtime?

Hmm, a quick workaround is to change the script import in the HTML file from:

import {Inspector, Runtime} from "https://unpkg.com/@observablehq/notebook-runtime@1?module";

to (edit: the following works, but is unsupported: see @mbostock’s post for the correct import statements!)

import {Inspector, Runtime} from "https://unpkg.com/@observablehq/runtime@3?module"

(For some reason the most recent version runtime@4 doesn’t work at the moment either due to some issue with marked?)

1 Like