@matra/markdown-unified 0.1.3 → 0.1.4-preview.1
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 +10 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -9,6 +9,16 @@ npm install @matra/markdown-unified@^0.1.3
|
|
|
9
9
|
|
|
10
10
|
The global CLI provides the generator: installing this preset alone does not install a second copy.
|
|
11
11
|
For the JavaScript API, also install `@matra/site-generation@^0.4.0` locally.
|
|
12
|
+
To use the published site-generation preview and this preset together in one project, install matching previews:
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install --save-dev @matra/site-generation@0.4.1-preview.1 @matra/markdown-unified@0.1.4-preview.1
|
|
16
|
+
npm ls @matra/site-generation @matra/markdown-unified
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
The stable `@matra/markdown-unified@0.1.3` peer range does not include that prerelease.
|
|
20
|
+
The install updates the lockfile; `npm ci` alone cannot change it.
|
|
21
|
+
|
|
12
22
|
In a file-based site, set `site.markdown: unified`. In JavaScript, pass `markdown: "unified"` to
|
|
13
23
|
`generateSite()`, or use the factory to add trusted plugins:
|
|
14
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matra/markdown-unified",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4-preview.1",
|
|
4
4
|
"description": "Official unified Markdown preset for Matra site generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./src/index.mjs",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"vfile": "^6.0.3"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@matra/site-generation": "^0.4.
|
|
23
|
+
"@matra/site-generation": "^0.4.1-preview.1"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@matra/site-generation": "^0.2.0 || ^0.3.0 || ^0.4.0"
|
|
26
|
+
"@matra/site-generation": "^0.2.0 || ^0.3.0 || ^0.4.0 || >=0.4.1-preview.0 <0.4.1"
|
|
27
27
|
},
|
|
28
28
|
"peerDependenciesMeta": {
|
|
29
29
|
"@matra/site-generation": {
|