astro-dgmo 0.3.0 → 0.3.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 +14 -10
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -30,7 +30,7 @@ No API changes. No breaking changes to fenced-block syntax or per-block options.
30
30
  ## Overview
31
31
 
32
32
  ```dgmo
33
- chart: sequence
33
+ sequence
34
34
  Client -POST /login-> API
35
35
  API -validate-> Auth
36
36
  Auth -JWT-> API
@@ -66,10 +66,10 @@ That's it. Anywhere in your Markdown or MDX content, write a fenced block with t
66
66
 
67
67
  ````markdown
68
68
  ```dgmo
69
- chart: pie
70
- TypeScript: 45
71
- Python: 30
72
- Rust: 25
69
+ pie Language Mix
70
+ TypeScript 45
71
+ Python 30
72
+ Rust 25
73
73
  ```
74
74
  ````
75
75
 
@@ -113,7 +113,7 @@ Append options to the fence info string. Tokens are space-separated; values may
113
113
 
114
114
  ````markdown
115
115
  ```dgmo showcase title="Login flow" palette=catppuccin theme=light
116
- chart: sequence
116
+ sequence
117
117
  A -> B
118
118
  ```
119
119
  ````
@@ -142,10 +142,14 @@ Or opt-in per block:
142
142
 
143
143
  ````markdown
144
144
  ```dgmo showcase
145
- chart: kanban
146
- Backlog: Item 1, Item 2
147
- Doing: Item 3
148
- Done: Item 4
145
+ kanban
146
+ [Backlog](blue)
147
+ Draft RFC
148
+ Plan migration
149
+ [Doing](yellow)
150
+ Wire auth flow
151
+ [Done](green)
152
+ Hello world
149
153
  ```
150
154
  ````
151
155
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-dgmo",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Astro integration to render DGMO diagrams from fenced code blocks at build time. Powered by @diagrammo/dgmo.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -57,7 +57,7 @@
57
57
  "astro": "^4.0.0 || ^5.0.0 || ^6.0.0"
58
58
  },
59
59
  "dependencies": {
60
- "remark-dgmo": "^0.1.0"
60
+ "remark-dgmo": "^0.1.2"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@diagrammo/dgmo": "^0.15.0",