Last active
January 8, 2021 17:24
-
-
Save ramene/aa58cbd08d362fdda78af993a356a71b to your computer and use it in GitHub Desktop.
RoamResearch :hiccup styling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: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