diff --git a/readme.md b/readme.md index fbe17b8..fb817d8 100644 --- a/readme.md +++ b/readme.md @@ -108,6 +108,20 @@ All `false` by default. - {Boolean} **keepBlockTags** - Whether to keep `` and `` comments or remove them. - {Boolean} **resolvePaths** - Try to resolve *relative* paths. For example if your `cwd` is ``/``, your html file is `/page/index.html` and you set replacement as `lib/file.js` the result path in that html will be `../lib/file.js` +###### Options example: +```javascript +htmlreplace({ + js: { + src: null, + tpl: '' + } +}, { + keepUnassigned: false, + keepBlockTags: false, + resolvePaths: false +}) +``` + ## Example index.html: