@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 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
@@ -0,0 +1,8 @@
1
+ {
2
+ "compilerOptions": {
3
+ "checkJs": false
4
+ },
5
+ "exclude": [
6
+ "node_modules"
7
+ ]
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saiballo/eleventy-plugin-svg-embed",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A plugin for 11ty that, through a shortcut, allows you to include an SVG image either as an embed or as a file",
5
5
  "main": "main.js",
6
6
  "keywords": [