From 9543caf10ffdbcc2cea462a8bcb64cee29d406d5 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 22 May 2023 23:09:27 -0700 Subject: Syntax Highlighting Variables --- templates/shortcodes/note.html | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 templates/shortcodes/note.html (limited to 'templates/shortcodes/note.html') diff --git a/templates/shortcodes/note.html b/templates/shortcodes/note.html deleted file mode 100644 index b2420e9..0000000 --- a/templates/shortcodes/note.html +++ /dev/null @@ -1,30 +0,0 @@ -{# note shortcode with icon and border - - type: ok / info / warning / error / neutral / other - display: block / icon / both - size: small / medium / large - markdown: true / false - - example: - - {% note(type="ok", display="block", size="small" markdown=true) %} - *Sample* "ok" note. With display "block" - And **markdown** content. - {% end %} -#} - -{# define defaults #} -{% if not type %}{% set type="neutral" %}{% endif %} -{% if not display %}{% set display="block" %}{% endif %} -{% if not size %}{% set size="small" %}{% endif %} -{% if not markdown %}{% set markdown=true %}{% endif %} - -
-{% if markdown %}{{ body | markdown | safe }} -{% else %}{{ body | safe }} -{% endif %} -
-- cgit v1.3.1