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 ------------------------------ templates/shortcodes/streamable.html | 3 +++ templates/shortcodes/vimeo.html | 3 +++ templates/shortcodes/vm.html | 3 --- templates/shortcodes/youtube.html | 3 +++ templates/shortcodes/yt.html | 3 --- 6 files changed, 9 insertions(+), 36 deletions(-) delete mode 100644 templates/shortcodes/note.html create mode 100644 templates/shortcodes/streamable.html create mode 100644 templates/shortcodes/vimeo.html delete mode 100644 templates/shortcodes/vm.html create mode 100644 templates/shortcodes/youtube.html delete mode 100644 templates/shortcodes/yt.html (limited to 'templates/shortcodes') 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 %} -
diff --git a/templates/shortcodes/streamable.html b/templates/shortcodes/streamable.html new file mode 100644 index 0000000..7df8e9e --- /dev/null +++ b/templates/shortcodes/streamable.html @@ -0,0 +1,3 @@ +
+ +
diff --git a/templates/shortcodes/vimeo.html b/templates/shortcodes/vimeo.html new file mode 100644 index 0000000..0fe3129 --- /dev/null +++ b/templates/shortcodes/vimeo.html @@ -0,0 +1,3 @@ +
+ +
diff --git a/templates/shortcodes/vm.html b/templates/shortcodes/vm.html deleted file mode 100644 index 2dd60e8..0000000 --- a/templates/shortcodes/vm.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
diff --git a/templates/shortcodes/youtube.html b/templates/shortcodes/youtube.html new file mode 100644 index 0000000..d07b91b --- /dev/null +++ b/templates/shortcodes/youtube.html @@ -0,0 +1,3 @@ +
+ +
diff --git a/templates/shortcodes/yt.html b/templates/shortcodes/yt.html deleted file mode 100644 index 9fb99dd..0000000 --- a/templates/shortcodes/yt.html +++ /dev/null @@ -1,3 +0,0 @@ -
- -
-- cgit v1.3.1