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

Add optional align parameter to accordion items shortcode.
This commit is contained in:
Nuno C.
2026-03-11 00:21:13 +00:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
@@ -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`**