description = "Aquest tema inclou alguns shortcodes personalitzats útils que pots utilitzar per millorar les teves publicacions. Ja sigui per mostrar imatges que s'adapten als temes clar i fosc, o per donar format a una secció de referències amb un aspecte professional, aquests shortcodes personalitzats t'ajudaran."
description = "Aquest tema inclou alguns shortcodes personalitzats útils que pots utilitzar per millorar les teves publicacions. Ja sigui per mostrar imatges que s'adapten als temes clar i fosc, o per donar format a una secció de referències amb un aspecte professional, aquests shortcodes personalitzats t'ajudaran."
[taxonomies]
[taxonomies]
@ -275,10 +275,26 @@ Pots canviar el `title` i la `icon` de l'advertència. Ambdós paràmetres accep
description = "Este tema incluye algunos shortcodes personalizados útiles que puedes utilizar para mejorar tus publicaciones. Puedes mostrar imágenes que se adapten a los temas claro y oscuro, dar formato a una sección de referencias con un aspecto profesional, y más."
description = "Este tema incluye algunos shortcodes personalizados útiles que puedes utilizar para mejorar tus publicaciones. Puedes mostrar imágenes que se adapten a los temas claro y oscuro, dar formato a una sección de referencias con un aspecto profesional, y más."
[taxonomies]
[taxonomies]
@ -274,10 +274,26 @@ Puedes cambiar el `title` y el `icon` de la advertencia. Ambos parámetros acept
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."
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]
[taxonomies]
@ -275,10 +275,26 @@ You can change the `title` and `icon` of the admonition. Both parameters take a
#### Usage
#### Usage
```
You can use admonitions in two ways:
1. Inline with parameters:
```md
{{/* admonition(type="danger", icon="tip", title="An important tip", text="Stay hydrated~") */}}
{{/* admonition(type="danger", icon="tip", title="An important tip", text="Stay hydrated~") */}}
```
```
2. With a content body:
```md
{%/* admonition(type="danger", icon="tip", title="An important tip") */%}
Stay hydrated~
This method is particularly useful for longer content or multiple paragraphs.
{%/* end */%}
```
Both methods support the same parameters (`type`, `icon`, and `title`), with the content either passed as the `text` parameter or as the body between tags.
### Multilingual quotes
### Multilingual quotes
This shortcode allows you to display both the translated and original text for a quote. The quotation marks will be added automatically:
This shortcode allows you to display both the translated and original text for a quote. The quotation marks will be added automatically: