posthtml-to-svg-tags

0.0.0 • Public • Published

posthtml-to-svg-tags

PostHTMLToSvgTags is plugin for PostHTML. It convert all HTML tags to SVG equals and maybe with new structure.

Usage

var posthtml = require('posthtml'),
    html = '<div class="wow">OMG</div>';    
 
posthtml([ require('posthtml-to-svg-tags')()])
    .process(html)
    .then(function(result) {
        console.log(result);
    });
    
// <g id="wow">OMG</g>    

Readme

Keywords

Package Sidebar

Install

npm i posthtml-to-svg-tags

Weekly Downloads

4

Version

0.0.0

License

MIT

Last publish

Collaborators

  • verybigman