Settings
1 | note: |
Usage
1 | {% note [class] [no-icon] %} |
Known Issues
It’s wrong to write this tag with 1 line if you don’t want to see possible bugs.
For example, here is wrong syntax to write content like that:
{% note danger %}note text, note text, note text{% endnote %}
Or like that:
{% note danger %}note text
note text
note text
{% endnote %}
Need to write content at new line, like this:
{% note danger %}
note text, note text, note text
note text, note text, note text
note text, note text, note text
{% endnote %}
See Backtick Code Block in Tags section.
Examples
1 | {% note %} |
1 | {% note default %} |
Default Header
Welcome to Hexo!
1 | {% note primary %} |
Primary Header
Welcome to Hexo!
1 | {% note info %} |
Info Header
Welcome to Hexo!
1 | {% note success %} |
Success Header
Welcome to Hexo!
1 | {% note warning %} |
Warning Header
Welcome to Hexo!
1 | {% note danger %} |
Danger Header
Welcome to Hexo!
1 | {% note info no-icon %} |
1 | {% note success %} |
1 | {% note default %} |
1 | #### Table in Note |