0.1.0 • Published 1 year ago

remark-content-shortcode v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

remark plugin shortcode

This plugin support shortcode in Hugo style.

Example

An example is as follows:

{{% notice note %}}
this is a note
{{% /notice %}}

All the available shortcodes are:

{{% notice note %}}
this is a note
{{% /notice %}}

{{% notice info %}}
this is an info
{{% /notice %}}

{{% notice warn %}}
this is a warnning
{{% /notice %}}

{{% notice error %}}
this is an error
{{% /notice %}}

Don't forget to add a line blank behind and before each shortcode block. It's better to add a <br> behind each block.

LICENSE

MIT