Skip to content

Commit

Permalink
📝 docs(shortcodes): clarify aside usage
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Dec 28, 2024
1 parent da1b6bb commit 1dcd615
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion content/blog/shortcodes/index.ca.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Shortcodes personalitzats"
date = 2023-02-19
updated = 2024-12-27
updated = 2024-12-28
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]
Expand Down Expand Up @@ -229,6 +229,8 @@ El shortcode accepta dos paràmetres:

#### Ús

{{ admonition(type="warning", text="Separa la definició de la nota del shortcode amb dues línies en blanc per evitar errors de renderització.") }}

Fent servir el paràmetre `text`:

```
Expand Down
4 changes: 3 additions & 1 deletion content/blog/shortcodes/index.es.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Shortcodes personalizados"
date = 2023-02-19
updated = 2024-12-27
updated = 2024-12-28
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]
Expand Down Expand Up @@ -228,6 +228,8 @@ El shortcode acepta dos parámetros:

#### Uso

{{ admonition(type="warning", text="Separa la llamada al shortcode con saltos de línea para evitar errores de renderizado.") }}

Usando el parámetro `text`:

```
Expand Down
4 changes: 3 additions & 1 deletion content/blog/shortcodes/index.md
Original file line number Diff line number Diff line change
@@ -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]
Expand Down Expand Up @@ -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:

```
Expand Down

0 comments on commit 1dcd615

Please sign in to comment.