Using the `tikz` shortcode, and adding the `tikz: true` metadata to a page's frontmatter, allows me to write TikZ diagram and have them rendered in the browser using JavaScript
3 lines
51 B
HTML
3 lines
51 B
HTML
<script type="text/tikz">
|
|
{{.Inner}}
|
|
</script>
|