diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/math.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/shortcodes/math.html b/layouts/shortcodes/math.html new file mode 100644 index 0000000..3fcdaa7 --- /dev/null +++ b/layouts/shortcodes/math.html @@ -0,0 +1,5 @@ +{{ if len .Params | eq 1 }} +\( {{- trim .Inner "\n" -}} \) +{{ else }} +$$ {{- trim .Inner "\n" -}} $$ +{{ end }}
\ No newline at end of file |