NoteBlock is an enhanced version of Blockquote, with icons displayed on the left and colors can be customized. Note is a simple way of writing NoteBlock.
{% note style parameter, text content %} |
Demo effect
Classic usage
you can set the default style in the configuration file to provide the most convenient way to write a simple sentence.
note quote is suitable for quoting a paragraph
note info default theme color
note warning default yellow
note error/danger default red
note done/success default green
More icons
These are the default styles, you can add colors manually:
note radiation default style
note radiation yellow can add color
note bug red indicate some failures that still exist
note link green can place some links
note paperclip blue place some attachment links
note todo to-do items
note guide clear can add a section of guide
note download can place download link
note up can explain how to update
note undo light can explain how to cancel or roll back
Source code of the above example
### Classic usage |
Supportable parameters
The position of style parameters can be written with icons and colors. Multiple style parameters are separated by spaces.
icon
quote, info, warning, done/success, error/danger |
radiation, bug, idea, link, paperclip, todo, message, guide, download, up, undo |
colour
clear, light, gray, red, yellow, green, cyan, blue |