postxml-placeholder
0.1.2 • Public • Published postxml-placeholder
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
Package Sidebar
Install
npm i postxml-placeholder
Weekly Downloads