postxml-wrap
0.2.2 • Public • Published postxml-wrap
PostXML plugin wrap with emmet abbreviation. Support only tags and classes.
Installation
npm i postxml- --save-dev
Usage
PostXML
Example
! Plugin doesn't work with whitespaces. They are added just for example
Input
<div wrap=".g-section.bg>.g-section__content">
<a></a>
</div>
Output
<div class="g-section bg">
<div class="g-section__content">
<div>
<a></a>
</div>
</div>
</div>
Options
attr
Type: String
Default: wrap
Licence
MIT
Dependencies (0)
Dev Dependencies (5)
Package Sidebar
Install
Weekly Downloads