@markdy/cli 1.0.23 → 1.0.25
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 +12 -5
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -15,21 +15,28 @@ To make `markdy` available as a shell command everywhere, install it globally wi
|
|
|
15
15
|
|
|
16
16
|
```text
|
|
17
17
|
@markdy/cli
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
-> reads .markdy files from disk
|
|
19
|
+
-> uses parser/runtime packages internally
|
|
20
|
+
-> outputs diagnostics, formatted source, or rendered HTML
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
## Output preview
|
|
24
24
|
|
|
25
25
|
<p align="center">
|
|
26
|
-
|
|
26
|
+
<a href="https://markdy.com/playground/">
|
|
27
|
+
<img src="https://raw.githubusercontent.com/HoangYell/markdy-com/main/website/public/images/scene-concurrency-decision-flowchart.webp" alt="Markdy CLI Flowchart Generation" width="900" />
|
|
28
|
+
</a>
|
|
29
|
+
</p>
|
|
30
|
+
<p align="center">
|
|
31
|
+
<a href="https://markdy.com/playground/">
|
|
32
|
+
<img src="https://raw.githubusercontent.com/HoangYell/markdy-com/main/website/public/images/scene-terminal-cli.webp" alt="Markdy CLI Terminal Infrastructure Preview" width="900" />
|
|
33
|
+
</a>
|
|
27
34
|
</p>
|
|
28
35
|
|
|
29
36
|
Use this command to generate a local HTML preview:
|
|
30
37
|
|
|
31
38
|
```bash
|
|
32
|
-
npx markdy render examples/showcase/
|
|
39
|
+
npx markdy render examples/showcase/url-shortener-architecture.markdy --out scene.html
|
|
33
40
|
```
|
|
34
41
|
|
|
35
42
|
## Commands
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.25",
|
|
4
4
|
"description": "First-party CLI for diagram-native MarkdyScript diagrams: lint, format, explain, render, and preview.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@markdy/
|
|
46
|
-
"@markdy/stdlib-systems": "1.0.
|
|
47
|
-
"@markdy/
|
|
48
|
-
"@markdy/
|
|
45
|
+
"@markdy/compat": "1.0.25",
|
|
46
|
+
"@markdy/stdlib-systems": "1.0.25",
|
|
47
|
+
"@markdy/core": "1.0.25",
|
|
48
|
+
"@markdy/renderer-dom": "1.0.25"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "^25.9.5",
|