@markdy/mdx 1.0.30 → 1.1.0
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 +15 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -56,13 +56,21 @@ export const mdxComponents = {
|
|
|
56
56
|
Then write Markdown:
|
|
57
57
|
|
|
58
58
|
````md
|
|
59
|
-
```markdy width=800 height=400
|
|
60
|
-
scene theme=paper width=800 height=400
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
59
|
+
```markdy width=800 height=400 autoplay=true loop=true
|
|
60
|
+
scene "Cache-Aside Architecture" theme=paper width=800 height=400
|
|
61
|
+
layout LR
|
|
62
|
+
|
|
63
|
+
browser Client "Web Client"
|
|
64
|
+
gateway Gateway "API Gateway"
|
|
65
|
+
service Shortener "URL Service"
|
|
66
|
+
cache Redis "Redis Cluster"
|
|
67
|
+
|
|
68
|
+
beat hit:
|
|
69
|
+
show $nodes stagger=60ms
|
|
70
|
+
Client -> Gateway "GET /x9" -> Shortener "resolve"
|
|
71
|
+
Shortener -> Redis "GET slug:x9"
|
|
72
|
+
Shortener <- Redis "200 Target URL"
|
|
73
|
+
Client <- Gateway "301 Redirect"
|
|
66
74
|
```
|
|
67
75
|
````
|
|
68
76
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/mdx",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "MDX plugin and lightweight React component for diagram-native animated Markdy diagrams.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"unist-util-visit": "^5.0.0",
|
|
46
|
-
"@markdy/renderer-dom": "1.0
|
|
46
|
+
"@markdy/renderer-dom": "1.1.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": ">=18.0.0",
|