@markdy/cli 0.7.20 → 0.7.22
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 -7
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -11,19 +11,22 @@ npm i -D @markdy/cli
|
|
|
11
11
|
If you install it into a project, run it with `npx markdy ...` or `npm exec markdy ...` from that project.
|
|
12
12
|
To make `markdy` available as a shell command everywhere, install it globally with `npm i -g @markdy/cli`.
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## Package position (text)
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
```text
|
|
17
|
+
@markdy/cli
|
|
18
|
+
-> reads .markdy files from disk
|
|
19
|
+
-> uses parser/runtime packages internally
|
|
20
|
+
-> outputs diagnostics, formatted source, or rendered HTML
|
|
21
|
+
```
|
|
19
22
|
|
|
20
|
-
##
|
|
23
|
+
## Output preview
|
|
21
24
|
|
|
22
25
|
<p align="center">
|
|
23
|
-
<img src="https://raw.githubusercontent.com/HoangYell/markdy-com/main/website/public/images/markdy-
|
|
26
|
+
<img src="https://raw.githubusercontent.com/HoangYell/markdy-com/main/website/public/images/markdy-output-preview.webp" alt="Markdy output preview" width="900" />
|
|
24
27
|
</p>
|
|
25
28
|
|
|
26
|
-
Use
|
|
29
|
+
Use this command to generate a local HTML preview:
|
|
27
30
|
|
|
28
31
|
```bash
|
|
29
32
|
npx markdy render examples/00-love-story.markdy --out examples/xscene.html
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.22",
|
|
4
4
|
"description": "First-party CLI for MarkdyScript: lint, format, explain, render, and local playground tooling.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@markdy/core": "0.7.
|
|
45
|
-
"@markdy/renderer-dom": "0.7.
|
|
44
|
+
"@markdy/core": "0.7.22",
|
|
45
|
+
"@markdy/renderer-dom": "0.7.22"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^25.9.5",
|