Custom Container

reco_luan2022-01-29 16:19:01
::: <type> [title]
[content]
:::

type is required, title and content are optional.

The supported type are:

  • tip
  • warning
  • danger
  • details

input

::: tip
this is a tip
:::

::: info
this is a info
:::

::: warning
this is a warning
:::

::: danger
This is a danger warning
:::

::: details
this is a details tag
:::

output

TIP

this is a tip

INFO

this is a info

WARNING

this is a warning

DANGER

this is a danger warning

DETAILS

this is a details tag

input

:::: code-group
::: code-group-item FOO
```js
const foo = 'foo'
```
:::
::: code-group-item BAR
```js
const bar = 'bar'
```
:::
::::

output

const foo = 'foo'
const bar = 'bar'
Last Updated 11/16/2024, 5:40:54 PM