From eb60527bfb250d15b92b300eda86993404d247d2 Mon Sep 17 00:00:00 2001 From: welpo Date: Sun, 26 Feb 2023 23:57:12 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20change=20'Usage'=20secti?= =?UTF-8?q?on=20styling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/shortcodes.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/content/shortcodes.md b/content/shortcodes.md index 435702c..bbc3a58 100644 --- a/content/shortcodes.md +++ b/content/shortcodes.md @@ -13,7 +13,7 @@ Useful if you want to use a different image for the light and dark themes: {{ dual_theme_image(light_src="$BASE_URL/img/paris_day.webp", dark_src="$BASE_URL/img/paris_night.webp" alt="The Eiffel tower") }} -Usage: +#### Usage ``` {{/* dual_theme_image(light_src="$BASE_URL/img/paris_day.webp", dark_src="$BASE_URL/img/paris_night.webp" alt="The Eiffel tower") */}} ``` @@ -24,8 +24,7 @@ Good for graphs, line drawings, diagrams… Inverts the colours of the image. Th {{ invertible_image(src="$BASE_URL/img/graph.webp", alt="Invertible graph") }} -Usage: - +#### Usage ``` {{/* invertible_image(src="img/graph.webp", alt="Invertible graph") */}} ``` @@ -36,7 +35,7 @@ Images with too much brightness or contrast can be jarring against a dark backgr {{ dimmable_image(src="$BASE_URL/img/desert_by_oskerwyld.webp", alt="Photograph of a desert, heavenly sky") }} -Usage: +#### Usage ``` {{/* dimmable_image(src="img/desert_by_oskerwyld.webp", alt="Photograph of a desert, heavenly sky") */}} @@ -60,7 +59,7 @@ Winger, J. A. (2010). The Art of Debate: An Examination of Rhetoric in Greendale {% end %} -Usage: +#### Usage ``` {%/* references() */%}