w0rm / gulp-svgstore

Combine svg files into one with symbol elements

Home Page:https://www.npmjs.com/package/gulp-svgstore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Output symbols only

richardwiggins opened this issue · comments

I was wondering if there is anyway to just output everything as <symbols> (like already happens), but without the <svg> wrapper and initial <defs><style> etc?

<defs> have to be extracted because they don't work from within a <symbol> , you can read more about it here. If you don't use <defs>, I guess you can pipe the result through the gulp-cheerio.