From b5bcd4c5d0ce91b4f35137dbc71409bc93cb825b Mon Sep 17 00:00:00 2001 From: mark Date: Fri, 29 Dec 2023 08:03:07 +0100 Subject: [PATCH] Move arguments to data structure --- content/en/docs/latest/components/alert.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/content/en/docs/latest/components/alert.md b/content/en/docs/latest/components/alert.md index e8f39236..3a1211b9 100644 --- a/content/en/docs/latest/components/alert.md +++ b/content/en/docs/latest/components/alert.md @@ -1,7 +1,7 @@ --- author: Mark Dumay title: Alert -date: 2023-08-05 +date: 2023-12-29 description: Use the alert shortcode to display a contextual feedback message. layout: docs icon: fas triangle-exclamation @@ -24,15 +24,7 @@ Use the `alert` shortcode to display a contextual feedback message. The inner co The shortcode supports the following arguments: -{{< table >}} -| Argument | Required | Description | -|-------------|----------|-------------| -| color | No | Optional theme color of the alert, either "primary" (default), "secondary", "success", "danger", "warning", "info", "light", "dark", "white" or "black". | -| dismissible | No | Optional flag to indicate the alert is dismissible, defaults to false. | -| icon | No | Optional class and name of a Font Awesome icon to include. The icons use the [icon shorthand notation]({{< relref "../content/icons" >}}). | -| type | No | Optional type of the alert, either "danger" or "info". Generates an alert with related color and icon. | -| class | No | Optional class attribute of the alert element. | -{{< /table >}} +{{< args structure="alert" group="shortcode" >}} ## Examples