summaryrefslogtreecommitdiffstats
path: root/templates/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes')
-rw-r--r--templates/shortcodes/fig.html4
-rw-r--r--templates/shortcodes/toc.html1
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/shortcodes/fig.html b/templates/shortcodes/fig.html
new file mode 100644
index 0000000..4ac99b4
--- /dev/null
+++ b/templates/shortcodes/fig.html
@@ -0,0 +1,4 @@
+<figure>
+ <img src="{{ src }}" alt="{{ alt }}" />
+ <figcaption aria-hidden="true">{{ alt }}</figcaption>
+</figure>
diff --git a/templates/shortcodes/toc.html b/templates/shortcodes/toc.html
new file mode 100644
index 0000000..479abec
--- /dev/null
+++ b/templates/shortcodes/toc.html
@@ -0,0 +1 @@
+<!-- toc -->