Monaen's WikiTag Plugins 2015-09-26
Declaration:
Posted from http://wzpan.github.io/hexo-theme-wixo/Docs/tag-plugins/
Like the Freemind theme, you can use hexo-tag-bootstrap to fully take advantages of Bootstrap. To use these tag plugins, you need to install it first. In your blog root folder, execute the following command:
1 | $ npm install hexo-tag-bootstrap --save |
Then you can use these tag plugins in your blog, as easily as you normally do using hexo tag plugins.
Text Color
Convey meaning through color with a handful of emphasis utility classes. These may also be applied to links and will darken on hover just like our default link styles.
Syntax
1 | {% textcolor [style] %} |
Examples
1 | {% textcolor muted %}Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.{% endtextcolor %} |
Results
Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.
Nullam id dolor id nibh ultricies vehicula ut id elit.
Duis mollis, est non commodo luctus, nisi erat porttitor ligula.
Maecenas sed diam eget risus varius blandit sit amet non magna.
Etiam porta sem malesuada magna mollis euismod.
Donec ullamcorper nulla non metus auctor fringilla.
Buttons
Inserts a button with target links, text and specified color.
Syntax
1 | {% btn url text [style] %} |
Examples
1 | {% btn http://hahack.com hahack %} |
Results
hahack hahack hahack hahack hahack hahackLabels
Inserts a label with text and specified color.
Syntax
1 | {% label text [style] %} |
Examples
1 | {% label default %} |
Results
default warinng success danger primary infoBadges
Inserts a badge with text.
Syntax
1 | {% badge text %} |
Examples
1 | {% badge 42 %} |
Results
42Alerts
Inserts alert messages with text and specified color.
Syntax
1 | {% alert [style] %} |
Examples
1 | {% alert warning %}Best check yo self, you're not looking too good.{% endalert %} |