From 896bc473a89afb4b9db5b669e56a8d60ca8ebcb1 Mon Sep 17 00:00:00 2001 From: Alex Haslam Date: Sun, 8 Feb 2026 15:50:11 +0000 Subject: [PATCH] Update docs --- exampleSite/content/docs/shortcodes/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exampleSite/content/docs/shortcodes/index.md b/exampleSite/content/docs/shortcodes/index.md index 993a04b1..d65c8678 100644 --- a/exampleSite/content/docs/shortcodes/index.md +++ b/exampleSite/content/docs/shortcodes/index.md @@ -251,7 +251,7 @@ Call to action | Parameter | Description | | --- | --- | | `images` | **Required.** A regex string to match image names or URLs. | -| `captions` | **Optional.** A list of `key:caption` pairs. Keys can be image filenames (for local images) or full URLs (for remote images). | +| `captions` | **Optional.** A list of `key:caption` pairs. Keys can be image filenames (for local images) or full URLs (for remote images). Captions support Markdown. | | `aspectRatio` | **Optional.** The aspect ratio for the carousel. It is set to `16-9` by default. | | `interval` | **Optional.** The interval for the auto-scrooling, specified in milliseconds. Defaults to `2000` (2s) | @@ -277,10 +277,10 @@ Captions are matched by key. For local images, use the filename (e.g. `01.jpg`). **Example 3:** Add captions ```md -{{}} +{{}} ``` -{{< carousel images="gallery/*" captions="{01.jpg:First *image*,02.jpg:Second image with a [link](https://example.com)}" >}} +{{< carousel images="gallery/*" captions="{01.jpg:First image with *formatting*,02.jpg:Second image with a [link](https://example.com)}" >}}