summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriel Costas <arielcostas@mailbox.org>2022-07-16 17:28:41 +0200
committerAriel Costas <arielcostas@mailbox.org>2022-07-16 17:28:41 +0200
commit2d3301aeaccafb28a31fd1be8dc351e08e2bb82e (patch)
tree40beaa30860c1951f7a8af7e83af3c0db3041143
parentce43a3bc4db0c35b58c04676f8df96b61d285717 (diff)
Add shortcode for <mark>ing text and code
This allows marking code from within markdown, useful for highlighting domains inside configuration blocks, like the old website had. Unless modified via CSS, it will display as black text over yellow background.
-rw-r--r--layouts/shortcodes/hl.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/hl.html b/layouts/shortcodes/hl.html
new file mode 100644
index 0000000..de10914
--- /dev/null
+++ b/layouts/shortcodes/hl.html
@@ -0,0 +1 @@
+<mark>{{ .Inner }}</mark> \ No newline at end of file