astro-dgmo 0.4.8 β†’ 0.4.9

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 -0
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Render [DGMO](https://diagrammo.app) diagrams from fenced code blocks in your Astro site at build time. Powered by [`@diagrammo/dgmo`](https://www.npmjs.com/package/@diagrammo/dgmo) and the framework-agnostic [`remark-dgmo`](https://www.npmjs.com/package/remark-dgmo) core. Zero client JavaScript by default.
4
4
 
5
+ πŸ“– **Setup guide:** [diagrammo.app/embed#astro](https://diagrammo.app/embed#astro) Β· πŸ”­ **Live showcase:** [every chart type rendered through astro-dgmo](https://diagrammo.github.io/astro-dgmo/)
6
+
5
7
  ```dgmo
6
8
  sequence
7
9
  Client -POST /login-> API
@@ -12,6 +14,18 @@ API -200 OK-> Client
12
14
 
13
15
  …in any `.md` or `.mdx` file becomes a beautifully rendered SVG, inlined into the page. Every diagram is rendered twice at build time (light + dark palettes) and follows the host's color-mode toggle via shipped CSS.
14
16
 
17
+ <p align="center">
18
+ <a href="https://diagrammo.app"><img src="https://diagrammo.app/readme/sequence.gif" alt="A DGMO diagram authored as plain text" width="100%"></a>
19
+ <br>
20
+ <em>Write a fenced <code>dgmo</code> block β€” it renders to SVG at build time.</em>
21
+ </p>
22
+
23
+ ## Chart types & visual authoring
24
+
25
+ One small plain-text language, **45 chart types** β€” flowcharts, sequence, state, class, ER, C4, org charts, gantt, maps, mind maps, and the full bar/line/pie/area/sankey family. Browse every type with live examples in the **[language reference](https://diagrammo.app/reference)**.
26
+
27
+ Prefer to author visually? Draft diagrams in the **[Diagrammo desktop app](https://diagrammo.app/app)** or the **[online editor](https://online.diagrammo.app)** β€” live preview, autocomplete, optional vim keybindings, 7 themeable palettes, and one-click PNG/SVG export β€” then paste the `dgmo` block into your docs. More at **[diagrammo.app](https://diagrammo.app)**.
28
+
15
29
  ## Install
16
30
 
17
31
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-dgmo",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
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": {
@@ -65,14 +65,14 @@
65
65
  "prepublishOnly": "pnpm build && pnpm test"
66
66
  },
67
67
  "peerDependencies": {
68
- "@diagrammo/dgmo": "^0.30.0",
68
+ "@diagrammo/dgmo": "^0.31.0",
69
69
  "astro": "^4.0.0 || ^5.0.0 || ^6.0.0"
70
70
  },
71
71
  "dependencies": {
72
- "remark-dgmo": "^0.3.9"
72
+ "remark-dgmo": "^0.3.10"
73
73
  },
74
74
  "devDependencies": {
75
- "@diagrammo/dgmo": "^0.30.0",
75
+ "@diagrammo/dgmo": "^0.31.0",
76
76
  "@eslint/js": "^10.0.1",
77
77
  "@types/node": "^22.10.0",
78
78
  "astro": "^6.1.10",