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 (without 'fa-' at the begining). Can be specified with or without space; e.g. 'Tab caption @icon' similar to 'Tab caption@icon'. Optional parameter.
例子
默认展开
1 2 3 4 5 6 7 8 9 10 11
{% tabs First unique name %} #如果写 First unique name 后面tag可以不写aaa, etc <!-- tab aaa --> **This is Tab 1.** <!-- endtab --> <!-- tab bbb --> **This is Tab 2.** <!-- endtab --> <!-- tab ccc --> **This is Tab 3.** <!-- endtab --> {% endtabs %}
mermaid.js {% mermaid type %} {% endmermaid %} type : type of the mermaid chart, visit https://github.com/knsv/mermaid for more information.
label
总览
1 2 3 4 5
{% label [class]@Text %} [class] : default | primary | success | info | warning | danger. '@Text' can be specified with or without space E.g. 'success @text' similar to 'success@text'. If not specified, default class will be selected.
例子
1 2 3 4 5
Lorem {% label @ipsum %} {% label primary@dolor sit %} amet, consectetur {% label success@adipiscing elit, %} sed {% label info@do eiusmod %} tempor incididunt ut labore et dolore magna aliqua.
Ut enim *{% label warning @ad %}* minim veniam, quis **{% label danger@nostrud %}** exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate ~~{% label default @velit %}~~ <mark>esse</mark> cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
url : Absolute or relative path to URL. text : Button text. Required if no icon specified. icon : FontAwesome icon name (without 'fa-' at the begining). Required if no text specified. [class] : FontAwesome class(es): fa-fw | fa-lg | fa-2x | fa-3x | fa-4x | fa-5x Optional parameter. [title] : Tooltip at mouseover. Optional parameter.
group-pictures
总览
1 2 3 4 5
group-pictures.js {% grouppicture [group]-[layout] %}{% endgrouppicture %} {% gp [group]-[layout] %}{% endgp %} [group] : Total number of pictures to add in the group. [layout] : Default picture under the group to show.
video
1
{% video /path/to/your/video.mp4 %}
group pic
1 2 3 4 5
group-pictures.js {% grouppicture [group]-[layout] %}{% endgrouppicture %} {% gp [group]-[layout] %}{% endgp %} [group] : Total number of pictures to add in the group. [layout] : Default picture under the group to show.