diff options
author | amzrk2 | 2020-07-25 18:20:25 +0800 |
---|---|---|
committer | amzrk2 | 2020-07-25 18:20:25 +0800 |
commit | 62ae83b7513c2c6c8bd857b7ed5f9f2f47512b43 (patch) | |
tree | 5473f24efe652cd963101943c9b82b55e8d97bd4 /layouts/shortcodes | |
parent | def669cf636eaacc7c567192bf1bfb8a362c03e9 (diff) | |
download | hugo-theme-fuji-62ae83b7513c2c6c8bd857b7ed5f9f2f47512b43.tar.gz hugo-theme-fuji-62ae83b7513c2c6c8bd857b7ed5f9f2f47512b43.tar.bz2 hugo-theme-fuji-62ae83b7513c2c6c8bd857b7ed5f9f2f47512b43.zip |
Update LaTeX shortcode
Diffstat (limited to 'layouts/shortcodes')
-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 |