Skip to content

seangravener/hexo-tag-htmlTag

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

hexo-tag-htmltag

A Hexo tag for inserting arbitrary html tags (with attributes) into posts.

Installation

npm install hexo-tag-htmltag --save

Use

Basic

{% htmlTag span class="highlight text" %} Something important {% endhtmlTag %}
// -> <span class="highlight text">Something important</span>

Multiple Attributes

{% htmlTag button type="button" data-submit data-action="add" aria-controls="calc"%} Add 10 {% endhtmlTag %}
// -> <button type="button" data-submit data-action="add" aria-controls="calc">Add 10</button>

License

MIT

About

Insert arbitrary html tags (with attributes) in hexo content.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published