From 185e52d2f6015671d8c7e8393ce26c6627f0553e Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 22 Aug 2019 23:59:51 +0200 Subject: #61, Add katex shortcode --- layouts/shortcodes/katex.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 layouts/shortcodes/katex.html (limited to 'layouts') diff --git a/layouts/shortcodes/katex.html b/layouts/shortcodes/katex.html new file mode 100644 index 0000000..5807c50 --- /dev/null +++ b/layouts/shortcodes/katex.html @@ -0,0 +1,12 @@ +{{ if not (.Page.Scratch.Get "katex") }} + + + + +{{ .Page.Scratch.Set "katex" true }} +{{ end }} + +

+ {{ .Inner }} +

+ -- cgit v1.2.3