Merge pull request #2816 from richtefee/feature/accordion-align

Add optional align parameter to accordion items shortcode.
This commit is contained in:
Nuno C. authored and GitHub committed 2026-03-11 00:21:13 +00:00
commit 8a1669e1f4
2 files changed
+3 -1

No files matched your search

@@ -116,6 +116,7 @@ The alert sign (`+` or `-`) is optional to control whether the admonition is fol
| `open` | **Optional.** Set to `true` to have the item open by default. |
| `header` | **Optional.** Alias for `title`, kept for compatibility with other shortcodes. |
| `icon` | **Optional.** Icon name to display before the title. |
| `align` | **Optional.** Align text within the item: `left`, `center`, `right` |
<!-- prettier-ignore-end -->
**Example 1: `mode="open"` (multiple items can be open) + `separated=true`**