From 941642aee876a97dbb79666d8fabaa2b1feb9ff5 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sun, 20 Mar 2022 00:38:25 +0530 Subject: Theme changes --- themes/terminal/layouts/shortcodes/code.html | 15 +++++++++++++++ themes/terminal/layouts/shortcodes/figure.html | 8 ++++++++ themes/terminal/layouts/shortcodes/image.html | 3 +++ themes/terminal/layouts/shortcodes/prismjs.html | 25 +++++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 themes/terminal/layouts/shortcodes/code.html create mode 100644 themes/terminal/layouts/shortcodes/figure.html create mode 100644 themes/terminal/layouts/shortcodes/image.html create mode 100644 themes/terminal/layouts/shortcodes/prismjs.html (limited to 'themes/terminal/layouts/shortcodes') diff --git a/themes/terminal/layouts/shortcodes/code.html b/themes/terminal/layouts/shortcodes/code.html new file mode 100644 index 0000000..8bab825 --- /dev/null +++ b/themes/terminal/layouts/shortcodes/code.html @@ -0,0 +1,15 @@ +{{ $id := delimit (shuffle (seq 1 9)) "" }} + +{{ if .Get "language" }} +
{{ .Inner | string }}
+ {{ $inner }}
+{{ else }}
+ {{ if .IsNamedParams }}
+ {{ $inner }}
+ {{ else }}
+
+ {{ $inner }}
+ {{ end }}
+{{ end }}
--
cgit v1.2.3