@markdy/mdx 0.7.29 → 0.8.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.
Files changed (2) hide show
  1. package/README.md +7 -4
  2. package/package.json +6 -5
package/README.md CHANGED
@@ -48,10 +48,13 @@ export const mdxComponents = {
48
48
  Then write Markdown:
49
49
 
50
50
  ````md
51
- ```markdy width=800 height=400 bg="#f8fafc" autoplay=false loop=false
52
- scene width=800 height=400 bg=#f8fafc
53
- actor label = text("Hello, MDX") at (80, 180) size 48
54
- @0.2: label.fade_in(dur=0.6)
51
+ ```markdy width=800 height=400 bg="#07111f" autoplay=false loop=false
52
+ scene "Request" theme=midnight width=800 height=400
53
+ browser Web
54
+ service API
55
+ beat main:
56
+ show $nodes
57
+ Web -> API "GET /users"
55
58
  ```
56
59
  ````
57
60
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@markdy/mdx",
3
- "version": "0.7.29",
4
- "description": "MDX integration plugin and lightweight React player for Markdy.",
3
+ "version": "0.8.1",
4
+ "description": "MDX plugin and lightweight React player for animated Markdy diagrams.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "sideEffects": false,
@@ -22,8 +22,9 @@
22
22
  "markdy",
23
23
  "mdx",
24
24
  "remark",
25
- "react",
26
- "animation"
25
+ "diagram-as-code",
26
+ "architecture-diagram",
27
+ "react"
27
28
  ],
28
29
  "author": "Hoang Yell <hoangyell@gmail.com> (https://hoangyell.com)",
29
30
  "homepage": "https://markdy.com",
@@ -40,7 +41,7 @@
40
41
  },
41
42
  "dependencies": {
42
43
  "unist-util-visit": "^5.0.0",
43
- "@markdy/renderer-dom": "0.7.29"
44
+ "@markdy/renderer-dom": "0.8.1"
44
45
  },
45
46
  "peerDependencies": {
46
47
  "react": ">=18.0.0",