/** * note.js | global hexo script. * * ATTENTION! No need to write this tag in 1 line if u don't want see probally bugs. * * Usage: * * {% note [class] %} * Any content (support inline tags too). * {% endnote %} * * [class] : default | primary | success | info | warning | danger. * May be not defined. */
Test note default
昏鴉盡,小立恨因誰 ?急雪乍翻香閣絮,輕風吹到膽瓶梅,心字已成灰。
Test note primary
昏鴉盡,小立恨因誰 ?急雪乍翻香閣絮,輕風吹到膽瓶梅,心字已成灰。
Test note success
昏鴉盡,小立恨因誰 ?急雪乍翻香閣絮,輕風吹到膽瓶梅,心字已成灰。
Test note info
昏鴉盡,小立恨因誰 ?急雪乍翻香閣絮,輕風吹到膽瓶梅,心字已成灰。
Test note warning
昏鴉盡,小立恨因誰 ?急雪乍翻香閣絮,輕風吹到膽瓶梅,心字已成灰。
Test note danger
昏鴉盡,小立恨因誰 ?急雪乍翻香閣絮,輕風吹到膽瓶梅,心字已成灰。
Button 标签测试
1 2
Usage: {% button /path/to/url/, text, icon [class], title %} Alias: {% btn /path/to/url/, text, icon [class], title %}
Button内嵌文字
1
{% button #, Text %}{% button #插入不同颜色的字体, 插入不同颜色的字体,heart %}
From {% label @fairest creatures %} we desire increase, That thereby {% label primary@beauty's rose %} might never die, But as the {% label success@riper %} should by time decease, His tender heir might {% label info@bear his memory %}: But thou contracted to thine own bright eyes, Feed'st thy light's flame with *{% label warning @self-substantial fuel%}*, Making a famine where ~~{% label default @abundance lies %}~~, Thy self thy foe, to thy <mark>sweet self too cruel</mark>: Thou that art now the world's fresh ornament, And only herald to the gaudy spring, Within thine own bud buriest thy content, And {% label danger@tender churl mak'st waste in niggarding %}: Pity the world, or else this glutton be, {% label warning@To eat the world's due, by the grave and thee %}.
From fairest creatures we desire increase, That thereby beauty's rose might never die, But as the riper should by time decease, His tender heir might bear his memory: But thou contracted to thine own bright eyes, Feed’st thy light’s flame with self-substantial fuel, Making a famine where abundance lies, Thy self thy foe, to thy sweet self too cruel: Thou that art now the world’s fresh ornament, And only herald to the gaudy spring, Within thine own bud buriest thy content, And tender churl mak'st waste in niggarding: Pity the world, or else this glutton be, To eat the world's due, by the grave and thee.
表格Tag测试
1 2 3 4 5 6 7 8 9 10 11
{% tabs First unique name %} <!-- tab --> **This is Tab 1.** <!-- endtab --> <!-- tab --> **This is Tab 2.** <!-- endtab --> <!-- tab --> **This is Tab 3.** <!-- endtab --> {% endtabs %}