Skip to content

Instantly share code, notes, and snippets.

@ramene
Last active January 8, 2021 17:24
Show Gist options
  • Save ramene/aa58cbd08d362fdda78af993a356a71b to your computer and use it in GitHub Desktop.
Save ramene/aa58cbd08d362fdda78af993a356a71b to your computer and use it in GitHub Desktop.
RoamResearch :hiccup styling
:hiccup [:iframe {
:height 550
:width 750
:scrollbar 0
:srcdoc "<!DOCTYPE html> <div id=\"observablehq-eb3a0382\">
<div class=\"observablehq-chart\"></div>
</div>
<script type=\"module\">
import {Runtime, Inspector} from \"https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js\";
import define from \"https://api.observablehq.com/@ramene/[email protected]?v=3\";
(new Runtime).module(define, name => {
if (name === \"chart\") return Inspector.into(\"#observablehq-eb3a0382 .observablehq-chart\")();
});
</script>"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment