This Honkit plugin converts blockquotes into GitHub Flavor markdown Alert-like information for both websites and ebooks.
output example
input markdown
> [!NOTE]
> Note text
<span></span> <!-- The markdown parser used by honkit will treat two blockquotes separated by one or more blank lines as the same blockquote -->
> [!TIP]
> Tips text
<span></span>
> [!IMPORTANT]
> Important text
<span></span>
> [!WARNING]
> Warning text
<span></span>
> [!CAUTION]
> Caution text
<span></span>
> [!UnsupportedAnnotation]
>
> Normal block quotes
<span></span>
> [!Warning|title:※注]
>
> Change label "Warning" -> "※注"
>
- Install this plugin.
- Add this plugin to your
book.json
file.
Example book.json
{
"plugins": [
"blockquote-callout"
]
}
This plugin was created as an alternative to plugins that use web fonts (e.g. fontawesome) that are not embedded during PDF generation.