Skip to content

AanZee/swift-htmltidy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#swig-htmltidy

Use htmltidy tidy functionality as a swig tag.

##Install npm install --save swig-htmltidy

##Usage

var swigHtmlTidy = require('swig-htmltidy')
  , swig = require('swig')

//Add all lodash functions
swigHtmlTidy.useTag(htmltidy, 'htmltidy')

Now you can use the lodash functions as a swig filter.

{% htmltidy %}<p class="name"></p>{% endhtmltidy %}

Made with ⚡️ by @aanzeenl

About

A swift html tidy tag to tidy HTML content inside SWIFT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published