Skip to content

Commit

Permalink
Move arguments to data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
markdumay committed Dec 29, 2023
1 parent b5bcd4c commit 3ce360d
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions content/en/docs/latest/components/badge.md
@@ -1,7 +1,7 @@
---
author: Mark Dumay
title: Badge
date: 2023-09-02
date: 2023-12-29
description: Use the badge shortcode to enrich headings.
layout: docs
icon: fas envelope-circle-check
Expand All @@ -25,15 +25,7 @@ Example heading of size four {{</* badge title="New" */>}}

The shortcode supports the following arguments:

<!-- markdownlint-disable MD037 -->
{{< table >}}
| Argument | Required | Description |
|-----------|----------|-------------|
| title | Yes | Required title of the badge. |
| class | No | Optional class attributes of the badge element. |
| color | No | Optional theme color of the element, either "primary", "secondary" (default), "success", "danger", "warning", "info", "light", "dark", "white", or "black". |
{{< /table >}}
<!-- markdownlint-enable MD037 -->
{{< args structure="badge" group="shortcode" >}}

## Examples

Expand Down

0 comments on commit 3ce360d

Please sign in to comment.