Skip to content

postxml/postxml-wrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postxml-wrap

npm version

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

About

PostXML plugin enabling configuration maps. Support only tags and classes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published