remark-inline-svg-flex 0.3.7 → 0.3.8

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -61,9 +61,7 @@ This is a test markdown document.
61
61
  ![some svg](some.svg)
62
62
  ```
63
63
 
64
- And our module `example.js` looks as the one below. It is recommended to pass
65
- the markdown directory path to `process()` so that the plugin can resolve relative
66
- paths correctly.
64
+ And our module `example.js` looks as the one below (it is recommended to pass the markdown directory path to `process()` so that the plugin can resolve relative paths correctly).
67
65
 
68
66
  ```js
69
67
  import { remark } from 'remark';
@@ -86,7 +84,9 @@ Now running `node example.js` yields:
86
84
  This is a test markdown document.
87
85
 
88
86
  <figure class="inline-svg">
89
- <svg fill="none" viewBox="0 0 250 250" role="img" aria-hidden="true"><circle cx="125" cy="125" r="100" fill="#BA5B5B"/></svg>
87
+ <svg width="800" height="800" fill="none" viewBox="0 0 16 16">
88
+ ...
89
+ </svg>
90
90
  </figure>
91
91
  ```
92
92
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remark-inline-svg-flex",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Flexible Remark plugin that inlines and optimizes SVGs with SVGO, featuring customizable path resolution and wrappers.",
5
5
  "keywords": [
6
6
  "unified",