From dd3c3a77036eafa656b5274aff4db32037880845 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Mon, 30 Dec 2024 05:44:48 -0500 Subject: [PATCH] Accidentally removed example shortcode in last commit --- layouts/shortcodes/example.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 layouts/shortcodes/example.html diff --git a/layouts/shortcodes/example.html b/layouts/shortcodes/example.html new file mode 100644 index 000000000..1f34155dd --- /dev/null +++ b/layouts/shortcodes/example.html @@ -0,0 +1,9 @@ +<div class="code-with-header"> + <div class="code-header">{{ .Get 0 }}</div> + <div class="scrollbar-container"> + <div class="codeBlockWrapper_2QGZ"> + {{ .Inner }} + {{ if .Get 1 }}<button type="button" aria-label="Copy code to clipboard" class="copyButton_1BYj">Copy</button>{{ end }} + </div> + </div> +</div> -- GitLab