@saiballo/eleventy-plugin-svg-embed 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/jsconfig.json +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ module.exports = function(eleventyConfig) {
|
|
|
45
45
|
#### Parameters
|
|
46
46
|
```js
|
|
47
47
|
// set this to true if you want to include file extension is shortcut code
|
|
48
|
-
"includeExt": false
|
|
48
|
+
"includeExt": false
|
|
49
49
|
|
|
50
50
|
// true | false. if set to "true", the code will be embedded in the page; otherwise, the img src tag will be used
|
|
51
51
|
"embed": true
|
|
@@ -56,7 +56,7 @@ module.exports = function(eleventyConfig) {
|
|
|
56
56
|
|
|
57
57
|
## Usage
|
|
58
58
|
|
|
59
|
-
In your template you can add a shortcut (example is for Nunjucks)
|
|
59
|
+
In your template you can add a shortcut (the example below is for Nunjucks):
|
|
60
60
|
|
|
61
61
|
```js
|
|
62
62
|
{% svgImg "path/to/your/image/logo" %}
|
package/jsconfig.json
ADDED
package/package.json
CHANGED