JavaScript

The jekyll-theme supports tips, warnings, and dangers blocks and the style is referred from the discord.js website.

You could have the following markdown attributes (supported by kramdown):

Tips

Using a {: .block-tip} attribute:

> ##### TIP
>
> This guide is last tested with @napi-rs/canvas^0.1.20, so make sure you have
> this or a similar version after installation.
{: .block-tip }
TIP

This guide is last tested with @napi-rs/canvas^0.1.20, so make sure you have this or a similar version after installation.

Warnings

Using a {: .block-warning} attribute:

> ##### WARNING
>
> Be sure that you're familiar with things like async/await and object destructuring
> before continuing, as we'll be making use of features like these.
{: .block-warning }
WARNING

Be sure that you’re familiar with things like async/await and object destructuring before continuing, as we’ll be making use of features like these.

Dangers

Using a {: .block-danger} attribute:

> ##### DANGER
>
> You cannot delete an ephemeral message.
{: .block-danger }
DANGER

You cannot delete an ephemeral message.

results matching ""

    No results matching ""