0.1.2 • Published 9 years ago

postxml-placeholder v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

postxml-placeholder

npm version

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

Installation

npm i postxml-placeholder --save-dev

Usage

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