[class] : default | primary | success | info | warning | danger. [no-icon] : Disable icon in note.
All parameters are optional.
例如:
1 2 3
{% note default %} content {% endnote %}
1 2 3
{% note primary %} content {% endnote %}
1 2 3
{% note success %} content {% endnote %}
1 2 3
{% note info %} content {% endnote %}
1 2 3
{% note warning %} content {% endnote %}
1 2 3
{% note danger %} content {% endnote %}
Gallery相册
写法:
1 2 3 4 5
<divclass="gallery-group-main"> {% galleryGroup name description link img-url %} {% galleryGroup name description link img-url %} {% galleryGroup name description link img-url %} </div>
Unique name : Unique name of tabs block tag without comma. Will be used in #id's as prefix for each tab with their index numbers. If there are whitespaces in name, for generate #id all whitespaces will replaced by dashes. Only for current url of post/page must be unique! [index] : Index number of active tab. If not specified, first tab (1) will be selected. If index is -1, no tab will be selected. It's will be something like spoiler. Optional parameter. [Tab caption] : Caption of current tab. If not caption specified, unique name with tab index suffix will be used as caption of tab. If not caption specified, but specified icon, caption will empty. Optional parameter. [@icon] : FontAwesome icon name (full-name, look like 'fas fa-font') Can be specified with or without space; eg 'Tab caption @icon' similar to 'Tab caption@icon'. Optional parameter.
This is my website, click the button {% btn 'http://w-gx.github.io',Home %} This is my website, click the button {% btn 'http://w-gx.github.io',Home ,far fa-hand-point-right %} This is my website, click the button {% btn 'http://w-gx.github.io',Home,outline %} This is my website, click the button {% btn 'http://w-gx.github.io',Home,far fa-hand-point-right,outline %} This is my website, click the button {% btn 'http://w-gx.github.io', Home,far fa-hand-point-right,larger %}
This is my website, click the button Home
This is my website, click the button Home
This is my website, click the button Home
This is my website, click the button Home
This is my website, click the button Home
1 2 3 4
{% btn 'http://w-gx.github.io',Home,far fa-hand-point-right,block %} {% btn 'http://w-gx.github.io',Home,far fa-hand-point-right,block center larger %} {% btn 'http://w-gx.github.io',Home,far fa-hand-point-right,block right outline larger %}