layouts: add TikZJax support
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
This commit is contained in:
parent
a164d46508
commit
60f577f739
3 changed files with 17 additions and 0 deletions
3
layouts/shortcodes/tikz.html
Normal file
3
layouts/shortcodes/tikz.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<script type="text/tikz">
|
||||
{{.Inner}}
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue