📝 docs(shortcodes): clarify aside usage

This commit is contained in:
welpo 2024-12-28 17:42:58 +01:00
parent da1b6bb0cc
commit 1dcd615615
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
3 changed files with 9 additions and 3 deletions

View file

@ -1,7 +1,7 @@
+++
title = "Custom shortcodes"
date = 2023-02-19
updated = 2024-12-27
updated = 2024-12-28
description = "This theme includes some useful custom shortcodes that you can use to enhance your posts. Whether you want to display images that adapt to light and dark themes, or format a professional-looking reference section, these custom shortcodes have got you covered."
[taxonomies]
@ -229,6 +229,8 @@ The shortcode accepts two parameters:
#### Usage
{{ admonition(type="warning", text="Place the aside shortcode on its own line to prevent formatting issues.") }}
Using the `text` parameter:
```