Skip to content

postxml/postxml-placeholder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postxml-placeholder

npm version

PostXML plugin for image's placeholder shortcut (with width and height).

Installation

npm i postxml-placeholder --save-dev

Example

Input

<img src=":600x400/000/fff.jpg&text=выыва">

Output

<img src="http://dummyimage.com/600x400/000/fff.jpg&text=выыва" width="600" height="400">

options

url

Type: string
Default: http://dummyimage.com/

prefix

Type: string
Default: :

Licence

MIT

About

Postxml plugin for image's placeholder shortcut.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published