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/prismjs.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 themes/terminal/layouts/shortcodes/prismjs.html (limited to 'themes/terminal/layouts/shortcodes/prismjs.html') diff --git a/themes/terminal/layouts/shortcodes/prismjs.html b/themes/terminal/layouts/shortcodes/prismjs.html new file mode 100644 index 0000000..e4acffe --- /dev/null +++ b/themes/terminal/layouts/shortcodes/prismjs.html @@ -0,0 +1,25 @@ +{{ $inner := replaceRE "^\r?\n" "" .Inner | string }} +{{ if len .Params | eq 0 }} +
{{ $inner }}
+{{ else }} + {{ if .IsNamedParams }} +
{{ $inner }}
+ {{ else }} +
+      {{ $inner }}
+ {{ end }} +{{ end }} -- cgit v1.2.3