postxml-placeholder

0.1.2 • Public • Published

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

Package Sidebar

Install

npm i postxml-placeholder

Weekly Downloads

1

Version

0.1.2

License

MIT

Last publish

Collaborators

  • yepninja