@markdy/mdx 1.0.18 → 1.0.20

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 +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -76,6 +76,6 @@ Fenced block metadata is passed as props to `MarkdyDiagram`. Snake-case aliases
76
76
  | `progress_color="#3b82f6"` | `progressColor="#3b82f6"` | Custom progress bar color or gradient |
77
77
  | `playback_rate=0.5` | `playbackRate={0.5}` | Normalized timeline speed multiplier; `1` is Markdy's normal pace |
78
78
  | `interactive_viewport=true` | `interactiveViewport={true}` | Enable wheel zoom and drag pan on the rendered viewport |
79
- | `controls=true` | `controls={true}` | Show a compact toolbar with play/pause, restart, speed, and view reset controls; also enables viewport interaction |
79
+ | `controls=true` | `controls={true}` | Supply legacy toolbar defaults; `false` suppresses controls declared by the script |
80
80
 
81
- > **Self-Contained MarkdyScript:** You can also declare `controls true`, `interactive true`, `progressColor "#3b82f6"`, `loop false`, etc. directly inside the Markdy code block without needing fence metadata attributes. Fence attributes act as explicit overrides.
81
+ > **Self-Contained MarkdyScript:** Prefer grouped `player:` settings inside the code block. Fence metadata is a host override; omit it when the script should remain authoritative.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markdy/mdx",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "MDX plugin and lightweight React component for diagram-native animated Markdy diagrams.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "unist-util-visit": "^5.0.0",
45
- "@markdy/renderer-dom": "1.0.18"
45
+ "@markdy/renderer-dom": "1.0.20"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": ">=18.0.0",