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.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,9 +61,7 @@ This is a test markdown document.
|
|
|
61
61
|

|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
And our module `example.js` looks as the one below
|
|
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
|
|
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