blog/layouts/partials/head-extra.html
Bruno BELANYI 60f577f739 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
2021-01-18 20:42:28 +01:00

6 lines
211 B
HTML

<!-- TikZJax support -->
{{ if (.Params.tikz) }}
<link rel="stylesheet" type="text/css" href="https://tikzjax.com/v1/fonts.css">
<script async src="https://tikzjax.com/v1/tikzjax.js"></script>
{{ end }}