hd-garden 0.14.11 → 0.14.13
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/Makefile +1 -1
- package/app/api/admin/distribution/route.ts +4 -2
- package/app/blog/[...path]/page.tsx +4 -2
- package/app/columns/[column]/[...path]/page.tsx +4 -2
- package/app/components/GardenMediaGuide.tsx +11 -23
- package/app/components/GardenPlayer.tsx +25 -0
- package/app/components/HandbookView.tsx +5 -3
- package/app/components/MarkdownArticle.tsx +7 -2
- package/app/components/PostReadingView.tsx +3 -3
- package/app/garden-modules.d.ts +10 -2
- package/app/globals.css +58 -1
- package/app/lib/content-body.ts +20 -0
- package/app/lib/garden-docs-meta.ts +2 -0
- package/app/lib/markdown-plugins.ts +5 -0
- package/app/lib/remark-video-player.d.mts +10 -0
- package/app/lib/remark-video-player.mjs +70 -0
- package/app/rss.xml/route.ts +3 -2
- package/bin/garden.mjs +18 -78
- package/docs/handbook/components/compose.md +3 -1
- package/docs/handbook/components/diagrams/chart.md +38 -0
- package/docs/handbook/components/diagrams/code-walkthrough.md +38 -0
- package/docs/handbook/components/diagrams/columns-join.md +38 -0
- package/docs/handbook/components/diagrams/compare.md +38 -0
- package/docs/handbook/components/diagrams/converter.md +38 -0
- package/docs/handbook/components/diagrams/facets.md +38 -0
- package/docs/handbook/components/diagrams/fan-out.md +38 -0
- package/docs/handbook/components/diagrams/icon-rail.md +38 -0
- package/docs/handbook/components/diagrams/inspect-grid.md +38 -0
- package/docs/handbook/components/diagrams/lanes.md +38 -0
- package/docs/handbook/components/diagrams/layers.md +38 -0
- package/docs/handbook/components/diagrams/other.md +37 -0
- package/docs/handbook/components/diagrams/plan.md +38 -0
- package/docs/handbook/components/diagrams/previews/chart.svg +7 -0
- package/docs/handbook/components/diagrams/previews/code-walkthrough.svg +5 -0
- package/docs/handbook/components/diagrams/previews/columns-join.svg +6 -0
- package/docs/handbook/components/diagrams/previews/compare.svg +5 -0
- package/docs/handbook/components/diagrams/previews/converter.svg +6 -0
- package/docs/handbook/components/diagrams/previews/facets.svg +6 -0
- package/docs/handbook/components/diagrams/previews/fan-out.svg +8 -0
- package/docs/handbook/components/diagrams/previews/icon-rail.svg +5 -0
- package/docs/handbook/components/diagrams/previews/inspect-grid.svg +5 -0
- package/docs/handbook/components/diagrams/previews/lanes.svg +5 -0
- package/docs/handbook/components/diagrams/previews/layers.svg +6 -0
- package/docs/handbook/components/diagrams/previews/other.svg +6 -0
- package/docs/handbook/components/diagrams/previews/plan.svg +5 -0
- package/docs/handbook/components/diagrams/previews/sequence.svg +7 -0
- package/docs/handbook/components/diagrams/previews/stepper.svg +5 -0
- package/docs/handbook/components/diagrams/previews/steps.svg +7 -0
- package/docs/handbook/components/diagrams/previews/tabs.svg +6 -0
- package/docs/handbook/components/diagrams/previews/timeline.svg +5 -0
- package/docs/handbook/components/diagrams/previews/trace.svg +7 -0
- package/docs/handbook/components/diagrams/previews/tunable.svg +4 -0
- package/docs/handbook/components/diagrams/previews/two-row.svg +4 -0
- package/docs/handbook/components/diagrams/sequence.md +38 -0
- package/docs/handbook/components/diagrams/stepper.md +38 -0
- package/docs/handbook/components/diagrams/steps.md +38 -0
- package/docs/handbook/components/diagrams/tabs.md +38 -0
- package/docs/handbook/components/diagrams/timeline.md +38 -0
- package/docs/handbook/components/diagrams/trace.md +38 -0
- package/docs/handbook/components/diagrams/tunable.md +38 -0
- package/docs/handbook/components/diagrams/two-row.md +38 -0
- package/docs/handbook/components/diagrams.md +100 -0
- package/docs/handbook/components/link-card.md +1 -1
- package/docs/handbook/components.md +1 -0
- package/docs/handbook/en/components/compose.md +3 -1
- package/docs/handbook/en/components/diagrams/chart.md +40 -0
- package/docs/handbook/en/components/diagrams/code-walkthrough.md +40 -0
- package/docs/handbook/en/components/diagrams/columns-join.md +40 -0
- package/docs/handbook/en/components/diagrams/compare.md +40 -0
- package/docs/handbook/en/components/diagrams/converter.md +40 -0
- package/docs/handbook/en/components/diagrams/facets.md +40 -0
- package/docs/handbook/en/components/diagrams/fan-out.md +40 -0
- package/docs/handbook/en/components/diagrams/icon-rail.md +40 -0
- package/docs/handbook/en/components/diagrams/inspect-grid.md +40 -0
- package/docs/handbook/en/components/diagrams/lanes.md +40 -0
- package/docs/handbook/en/components/diagrams/layers.md +40 -0
- package/docs/handbook/en/components/diagrams/other.md +39 -0
- package/docs/handbook/en/components/diagrams/plan.md +40 -0
- package/docs/handbook/en/components/diagrams/sequence.md +40 -0
- package/docs/handbook/en/components/diagrams/stepper.md +40 -0
- package/docs/handbook/en/components/diagrams/steps.md +40 -0
- package/docs/handbook/en/components/diagrams/tabs.md +40 -0
- package/docs/handbook/en/components/diagrams/timeline.md +40 -0
- package/docs/handbook/en/components/diagrams/trace.md +40 -0
- package/docs/handbook/en/components/diagrams/tunable.md +40 -0
- package/docs/handbook/en/components/diagrams/two-row.md +40 -0
- package/docs/handbook/en/components/diagrams.md +100 -0
- package/docs/handbook/en/components/link-card.md +1 -1
- package/docs/handbook/en/components.md +1 -0
- package/docs/handbook/en/start.md +1 -1
- package/docs/handbook/en/workflow.md +2 -2
- package/docs/handbook/en/writing.md +82 -1
- package/docs/handbook/start.md +1 -1
- package/docs/handbook/workflow.md +2 -2
- package/docs/handbook/writing.md +82 -1
- package/editors/dist/{garden-typora-0.14.11.zip → garden-typora-0.14.13.zip} +0 -0
- package/editors/dist/typora/main.js +296 -194
- package/editors/dist/typora/manifest.json +1 -1
- package/editors/dist/typora/style.css +48 -6
- package/editors/dist/vscode/{garden-ui-0.14.11.vsix → garden-ui-0.14.13.vsix} +0 -0
- package/package.json +1 -1
- package/scripts/build-content.mjs +23 -8
- package/scripts/dev-server.mjs +30 -2
- package/scripts/fetch-embed.mjs +39 -27
- package/scripts/handbook-diagrams.mjs +434 -0
- package/scripts/link-assets.mjs +6 -0
- package/scripts/vinext-runtime.mjs +80 -0
- package/templates/site/Makefile +1 -1
- package/templates/site/Makefile.en +1 -1
- package/ui/compose/compose.css +43 -5
- package/ui/garden/diagram-recipes.mjs +490 -0
- package/ui/garden/markdown-links.mjs +8 -5
- package/ui/garden/picker-placement.mjs +433 -0
- package/ui/garden/player.mjs +286 -0
- package/ui/garden/rehype-keep-punctuation.mjs +87 -18
- package/ui/garden/snippets.mjs +6 -4
- package/ui/garden/typora-suggest-contract.mjs +108 -0
- package/ui/preview/dist/garden-ui.css +43 -5
- package/ui/preview/dist/garden-ui.esm.js +4 -4
- package/ui/preview/dist/garden-ui.iife.js +4 -4
- package/vite.config.ts +84 -23
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<path d="M12 8v32h48" stroke="#8a8274"/>
|
|
3
|
+
<rect x="18" y="28" width="6" height="12" fill="#fffdf8"/>
|
|
4
|
+
<rect x="28" y="20" width="6" height="20" fill="#fffdf8"/>
|
|
5
|
+
<rect x="38" y="24" width="6" height="16" fill="#fffdf8"/>
|
|
6
|
+
<rect x="48" y="12" width="6" height="28" fill="#fffdf8"/>
|
|
7
|
+
</g></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="6" y="6" width="36" height="36" rx="2" fill="#fffdf8"/>
|
|
3
|
+
<path d="M10 12h28M10 18h20M10 24h24M10 30h16"/>
|
|
4
|
+
<rect x="46" y="14" width="20" height="20" rx="2"/><path d="M50 20h12M50 26h8"/>
|
|
5
|
+
</g></svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="4" y="10" width="16" height="28" rx="2" fill="#fffdf8"/><path d="M8 16h8M8 21h6"/>
|
|
3
|
+
<rect x="28" y="8" width="16" height="32" rx="2" fill="#fffdf8"/><path d="M32 16h8M32 21h6"/>
|
|
4
|
+
<rect x="52" y="10" width="16" height="28" rx="2" fill="#fffdf8"/><path d="M56 16h8M56 21h6"/>
|
|
5
|
+
<path d="M20 24h8M44 24h8" stroke="#8a8274"/>
|
|
6
|
+
</g></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="6" y="8" width="28" height="32" rx="2" fill="#fffdf8"/>
|
|
3
|
+
<rect x="38" y="8" width="28" height="32" rx="2" fill="#fffdf8"/>
|
|
4
|
+
<path d="M10 14h20M10 20h14M10 26h18M42 14h20M42 20h14M42 26h18"/>
|
|
5
|
+
</g></svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="8" y="16" width="16" height="16" rx="2" fill="#fffdf8"/>
|
|
3
|
+
<path d="M24 24h10"/><rect x="36" y="6" width="28" height="12" rx="2" fill="#fffdf8"/>
|
|
4
|
+
<rect x="36" y="20" width="28" height="12" rx="2" fill="#fffdf8"/>
|
|
5
|
+
<rect x="36" y="34" width="28" height="10" rx="2" fill="#fffdf8"/>
|
|
6
|
+
</g></svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="4" y="14" width="15" height="20" rx="2" fill="#fffdf8"/>
|
|
3
|
+
<rect x="21" y="14" width="15" height="20" rx="2" fill="#fffdf8"/>
|
|
4
|
+
<rect x="38" y="14" width="15" height="20" rx="2" fill="#fffdf8"/>
|
|
5
|
+
<rect x="55" y="14" width="13" height="20" rx="2" fill="#fffdf8"/>
|
|
6
|
+
</g></svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="6" y="16" width="16" height="16" rx="2" fill="#fffdf8"/>
|
|
3
|
+
<path d="M22 24h8"/>
|
|
4
|
+
<rect x="48" y="4" width="18" height="10" rx="2" fill="#fffdf8"/>
|
|
5
|
+
<rect x="48" y="19" width="18" height="10" rx="2" fill="#fffdf8"/>
|
|
6
|
+
<rect x="48" y="34" width="18" height="10" rx="2" fill="#fffdf8"/>
|
|
7
|
+
<path d="M30 24h10M40 24L48 9M40 24h8M40 24L48 39" stroke="#8a8274"/>
|
|
8
|
+
</g></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="8" y="8" width="8" height="8" rx="1.5"/><path d="M20 10h28M20 15h20"/>
|
|
3
|
+
<path d="M10 24h52" stroke="#8a8274" stroke-width="1"/>
|
|
4
|
+
<rect x="8" y="32" width="8" height="8" rx="1.5"/><path d="M20 34h28M20 39h16"/>
|
|
5
|
+
</g></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="12" y="6" width="48" height="36" rx="2"/>
|
|
3
|
+
<path d="M12 18h48M12 30h48M28 6v36M44 6v36" stroke="#8a8274"/>
|
|
4
|
+
<rect x="28" y="18" width="16" height="12" fill="#fffdf8"/>
|
|
5
|
+
</g></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<path d="M8 16h56M8 30h56" stroke="#8a8274"/>
|
|
3
|
+
<rect x="14" y="10" width="16" height="8" rx="2" fill="#fffdf8"/>
|
|
4
|
+
<path d="M30 18v8"/><rect x="36" y="24" width="16" height="8" rx="2" fill="#fffdf8"/>
|
|
5
|
+
</g></svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="10" y="4" width="52" height="8" rx="2" fill="#fffdf8"/>
|
|
3
|
+
<rect x="10" y="14" width="52" height="8" rx="2" fill="#fffdf8"/>
|
|
4
|
+
<rect x="10" y="24" width="52" height="8" rx="2" fill="#fffdf8"/>
|
|
5
|
+
<rect x="10" y="34" width="52" height="10" rx="2" fill="#fffdf8"/>
|
|
6
|
+
</g></svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<path d="M8 10h28M8 15h20" stroke="#8a8274"/>
|
|
3
|
+
<rect x="40" y="8" width="24" height="16" rx="2" fill="#fffdf8"/><path d="M44 13h16M44 18h10"/>
|
|
4
|
+
<rect x="8" y="26" width="22" height="14" rx="2"/><path d="M12 31h14M12 35h9"/>
|
|
5
|
+
<path d="M36 30h28M36 36h20" stroke="#8a8274"/>
|
|
6
|
+
</g></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="10" y="8" width="8" height="8" rx="1"/><path d="M24 12h36"/>
|
|
3
|
+
<rect x="10" y="20" width="8" height="8" rx="1"/><path d="M24 24h28"/>
|
|
4
|
+
<rect x="10" y="32" width="8" height="8" rx="1"/><path d="M24 36h32"/>
|
|
5
|
+
</g></svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="6" y="16" width="14" height="16" rx="2" fill="#fffdf8"/>
|
|
3
|
+
<path d="M22 24h6"/><path d="M25 21.5 L28.5 24 L25 26.5" fill="#3a3428" stroke="none"/>
|
|
4
|
+
<rect x="29" y="16" width="14" height="16" rx="2" fill="#fffdf8"/>
|
|
5
|
+
<path d="M45 24h6"/><path d="M48 21.5 L51.5 24 L48 26.5" fill="#3a3428" stroke="none"/>
|
|
6
|
+
<rect x="52" y="16" width="14" height="16" rx="2" fill="#fffdf8"/>
|
|
7
|
+
</g></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="8" y="8" width="56" height="22" rx="2" fill="#fffdf8"/>
|
|
3
|
+
<path d="M16 32h8M28 32h8M40 32h8" stroke="#8a8274"/>
|
|
4
|
+
<circle cx="20" cy="40" r="3"/><circle cx="32" cy="40" r="3" fill="#3a3428"/><circle cx="44" cy="40" r="3"/>
|
|
5
|
+
</g></svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<circle cx="14" cy="12" r="5"/><path d="M22 12h40M22 16h24"/>
|
|
3
|
+
<path d="M14 17v6" stroke="#8a8274"/>
|
|
4
|
+
<circle cx="14" cy="28" r="5"/><path d="M22 28h40M22 32h20"/>
|
|
5
|
+
<path d="M14 33v6" stroke="#8a8274"/>
|
|
6
|
+
<circle cx="14" cy="42" r="4"/><path d="M22 42h28"/>
|
|
7
|
+
</g></svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="8" y="8" width="16" height="8" rx="2" fill="#fffdf8"/>
|
|
3
|
+
<rect x="26" y="8" width="16" height="8" rx="2"/>
|
|
4
|
+
<rect x="44" y="8" width="16" height="8" rx="2"/>
|
|
5
|
+
<rect x="8" y="16" width="56" height="24" rx="2" fill="#fffdf8"/>
|
|
6
|
+
</g></svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<path d="M16 6v36" stroke="#8a8274"/>
|
|
3
|
+
<circle cx="16" cy="12" r="2.5" fill="#3a3428" stroke="none"/><path d="M24 10h32M24 15h20"/>
|
|
4
|
+
<circle cx="16" cy="28" r="2.5" fill="#3a3428" stroke="none"/><path d="M24 26h32M24 31h16"/>
|
|
5
|
+
</g></svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="8" y="16" width="14" height="14" rx="7" fill="#fffdf8"/>
|
|
3
|
+
<rect x="29" y="16" width="14" height="14" rx="7"/>
|
|
4
|
+
<rect x="50" y="16" width="14" height="14" rx="7" fill="#fffdf8"/>
|
|
5
|
+
<path d="M22 23h7M43 23h7"/>
|
|
6
|
+
<circle cx="36" cy="23" r="3" fill="#3a3428" stroke="none"/>
|
|
7
|
+
</g></svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<path d="M12 16h48" stroke="#8a8274"/><circle cx="40" cy="16" r="4" fill="#fffdf8"/>
|
|
3
|
+
<rect x="16" y="28" width="40" height="12" rx="2" fill="#fffdf8"/><path d="M22 34h20"/>
|
|
4
|
+
</g></svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="216" height="144" viewBox="0 0 72 48"><g fill="none" stroke="#3a3428" stroke-width="1.25">
|
|
2
|
+
<rect x="6" y="6" width="16" height="12" rx="2" fill="#fffdf8"/><path d="M22 12h6"/><rect x="28" y="6" width="16" height="12" rx="2" fill="#fffdf8"/><path d="M44 12h6"/><rect x="50" y="6" width="16" height="12" rx="2" fill="#fffdf8"/>
|
|
3
|
+
<rect x="6" y="28" width="16" height="14" rx="2" fill="#fffdf8"/><path d="M22 35h6"/><rect x="28" y="28" width="16" height="14" rx="2" fill="#fffdf8"/><path d="M44 35h6"/><rect x="50" y="28" width="16" height="14" rx="2" fill="#fffdf8"/>
|
|
4
|
+
</g></svg>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "流程图"
|
|
3
|
+
navTitle: "流程图"
|
|
4
|
+
description: "适合说明一件事按什么顺序完成"
|
|
5
|
+
section: diagrams
|
|
6
|
+
order: 71
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Generated by scripts/handbook-diagrams.mjs. Do not edit by hand. -->
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
适合说明一件事按什么顺序完成。
|
|
14
|
+
|
|
15
|
+
没有顺序的条目不要加箭头,也不要靠缩字硬撑手机横排。
|
|
16
|
+
|
|
17
|
+
Typora 和 VS Code / Cursor 共用同一份推荐列表。在 `/garden` 里,这一项的名称和适用说明与上面相同。选中后会插入下面的 `garden compose` 说明草稿。补全材料和表达目标,再交给 AI 编译。
|
|
18
|
+
|
|
19
|
+
推荐说明草稿是起点,不是语法课,也不是唯一合法写法。需要时仍可在同一个 `garden compose` 里搭配 Markdown 或安全 HTML 基础块。
|
|
20
|
+
|
|
21
|
+
````markdown
|
|
22
|
+
```garden compose
|
|
23
|
+
请根据我提供的材料和表达目标,用 garden compose 做一个「流程图」说明图。
|
|
24
|
+
|
|
25
|
+
我的材料:
|
|
26
|
+
- (粘贴原文条目和需要保留的措辞)
|
|
27
|
+
|
|
28
|
+
我的表达目标:
|
|
29
|
+
- (读者要一眼看出什么)
|
|
30
|
+
|
|
31
|
+
请你:
|
|
32
|
+
- 只根据材料组织内容,不要发明事实或结论
|
|
33
|
+
- 自行处理图形语法、布局和手机阅读适配,不要让我学习标签或写 CSS
|
|
34
|
+
- 「流程图」是推荐起点:只有原文明确顺序才用箭头。阶段短可以从左到右,阶段长或窄屏改为从上到下,不要靠缩字硬撑横排
|
|
35
|
+
- 推荐图示不是唯一合法写法;需要时仍可在同一 compose 里搭配必要的 Markdown / HTML 基础块
|
|
36
|
+
- 不要另起一种作者围栏或新语法,只使用 garden compose
|
|
37
|
+
```
|
|
38
|
+
````
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "逐步演示"
|
|
3
|
+
navTitle: "逐步演示"
|
|
4
|
+
description: "适合让读者停在某一步,看状态怎么变"
|
|
5
|
+
section: diagrams
|
|
6
|
+
order: 171
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Generated by scripts/handbook-diagrams.mjs. Do not edit by hand. -->
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
适合让读者停在某一步,看状态怎么变。
|
|
14
|
+
|
|
15
|
+
只有两三个静态阶段时,用分步图或流程图即可。
|
|
16
|
+
|
|
17
|
+
Typora 和 VS Code / Cursor 共用同一份推荐列表。在 `/garden` 里,这一项的名称和适用说明与上面相同。选中后会插入下面的 `garden compose` 说明草稿。补全材料和表达目标,再交给 AI 编译。
|
|
18
|
+
|
|
19
|
+
推荐说明草稿是起点,不是语法课,也不是唯一合法写法。需要时仍可在同一个 `garden compose` 里搭配 Markdown 或安全 HTML 基础块。
|
|
20
|
+
|
|
21
|
+
````markdown
|
|
22
|
+
```garden compose
|
|
23
|
+
请根据我提供的材料和表达目标,用 garden compose 做一个「逐步演示」说明图。
|
|
24
|
+
|
|
25
|
+
我的材料:
|
|
26
|
+
- (粘贴原文条目和需要保留的措辞)
|
|
27
|
+
|
|
28
|
+
我的表达目标:
|
|
29
|
+
- (读者要一眼看出什么)
|
|
30
|
+
|
|
31
|
+
请你:
|
|
32
|
+
- 只根据材料组织内容,不要发明事实或结论
|
|
33
|
+
- 自行处理图形语法、布局和手机阅读适配,不要让我学习标签或写 CSS
|
|
34
|
+
- 「逐步演示」是推荐起点:让读者按步查看状态如何变化;若只是静态阶段,改用分步图,不要做成逐步演示
|
|
35
|
+
- 推荐图示不是唯一合法写法;需要时仍可在同一 compose 里搭配必要的 Markdown / HTML 基础块
|
|
36
|
+
- 不要另起一种作者围栏或新语法,只使用 garden compose
|
|
37
|
+
```
|
|
38
|
+
````
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "分步图"
|
|
3
|
+
navTitle: "分步图"
|
|
4
|
+
description: "适合一步步解释,步骤里可以展开细节"
|
|
5
|
+
section: diagrams
|
|
6
|
+
order: 81
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Generated by scripts/handbook-diagrams.mjs. Do not edit by hand. -->
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
适合一步步解释,步骤里可以展开细节。
|
|
14
|
+
|
|
15
|
+
不是按比例表示时间,也不是让读者照着做的清单,更不是让读者逐步查看状态变化。
|
|
16
|
+
|
|
17
|
+
Typora 和 VS Code / Cursor 共用同一份推荐列表。在 `/garden` 里,这一项的名称和适用说明与上面相同。选中后会插入下面的 `garden compose` 说明草稿。补全材料和表达目标,再交给 AI 编译。
|
|
18
|
+
|
|
19
|
+
推荐说明草稿是起点,不是语法课,也不是唯一合法写法。需要时仍可在同一个 `garden compose` 里搭配 Markdown 或安全 HTML 基础块。
|
|
20
|
+
|
|
21
|
+
````markdown
|
|
22
|
+
```garden compose
|
|
23
|
+
请根据我提供的材料和表达目标,用 garden compose 做一个「分步图」说明图。
|
|
24
|
+
|
|
25
|
+
我的材料:
|
|
26
|
+
- (粘贴原文条目和需要保留的措辞)
|
|
27
|
+
|
|
28
|
+
我的表达目标:
|
|
29
|
+
- (读者要一眼看出什么)
|
|
30
|
+
|
|
31
|
+
请你:
|
|
32
|
+
- 只根据材料组织内容,不要发明事实或结论
|
|
33
|
+
- 自行处理图形语法、布局和手机阅读适配,不要让我学习标签或写 CSS
|
|
34
|
+
- 「分步图」是推荐起点:用分步图把顺序讲清楚,需要时在步骤里展开细节;不要把它写成待办清单或逐步演示,除非材料确实如此
|
|
35
|
+
- 推荐图示不是唯一合法写法;需要时仍可在同一 compose 里搭配必要的 Markdown / HTML 基础块
|
|
36
|
+
- 不要另起一种作者围栏或新语法,只使用 garden compose
|
|
37
|
+
```
|
|
38
|
+
````
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "选项卡"
|
|
3
|
+
navTitle: "选项卡"
|
|
4
|
+
description: "适合几组说明互相独立、一次只看一组"
|
|
5
|
+
section: diagrams
|
|
6
|
+
order: 121
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Generated by scripts/handbook-diagrams.mjs. Do not edit by hand. -->
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
适合几组说明互相独立、一次只看一组。
|
|
14
|
+
|
|
15
|
+
必须同时比较的事实不要藏进其他组,这不是应用导航。
|
|
16
|
+
|
|
17
|
+
Typora 和 VS Code / Cursor 共用同一份推荐列表。在 `/garden` 里,这一项的名称和适用说明与上面相同。选中后会插入下面的 `garden compose` 说明草稿。补全材料和表达目标,再交给 AI 编译。
|
|
18
|
+
|
|
19
|
+
推荐说明草稿是起点,不是语法课,也不是唯一合法写法。需要时仍可在同一个 `garden compose` 里搭配 Markdown 或安全 HTML 基础块。
|
|
20
|
+
|
|
21
|
+
````markdown
|
|
22
|
+
```garden compose
|
|
23
|
+
请根据我提供的材料和表达目标,用 garden compose 做一个「选项卡」说明图。
|
|
24
|
+
|
|
25
|
+
我的材料:
|
|
26
|
+
- (粘贴原文条目和需要保留的措辞)
|
|
27
|
+
|
|
28
|
+
我的表达目标:
|
|
29
|
+
- (读者要一眼看出什么)
|
|
30
|
+
|
|
31
|
+
请你:
|
|
32
|
+
- 只根据材料组织内容,不要发明事实或结论
|
|
33
|
+
- 自行处理图形语法、布局和手机阅读适配,不要让我学习标签或写 CSS
|
|
34
|
+
- 「选项卡」是推荐起点:只有各组说明可以分开看时才用选项卡;必须同时比较的内容不要藏起来
|
|
35
|
+
- 推荐图示不是唯一合法写法;需要时仍可在同一 compose 里搭配必要的 Markdown / HTML 基础块
|
|
36
|
+
- 不要另起一种作者围栏或新语法,只使用 garden compose
|
|
37
|
+
```
|
|
38
|
+
````
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "时间线图"
|
|
3
|
+
navTitle: "时间线图"
|
|
4
|
+
description: "适合按日期或时间点排列事件"
|
|
5
|
+
section: diagrams
|
|
6
|
+
order: 101
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Generated by scripts/handbook-diagrams.mjs. Do not edit by hand. -->
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
适合按日期或时间点排列事件。
|
|
14
|
+
|
|
15
|
+
没有按时间比例展开的进度,不要画成带时长的甘特图。
|
|
16
|
+
|
|
17
|
+
Typora 和 VS Code / Cursor 共用同一份推荐列表。在 `/garden` 里,这一项的名称和适用说明与上面相同。选中后会插入下面的 `garden compose` 说明草稿。补全材料和表达目标,再交给 AI 编译。
|
|
18
|
+
|
|
19
|
+
推荐说明草稿是起点,不是语法课,也不是唯一合法写法。需要时仍可在同一个 `garden compose` 里搭配 Markdown 或安全 HTML 基础块。
|
|
20
|
+
|
|
21
|
+
````markdown
|
|
22
|
+
```garden compose
|
|
23
|
+
请根据我提供的材料和表达目标,用 garden compose 做一个「时间线图」说明图。
|
|
24
|
+
|
|
25
|
+
我的材料:
|
|
26
|
+
- (粘贴原文条目和需要保留的措辞)
|
|
27
|
+
|
|
28
|
+
我的表达目标:
|
|
29
|
+
- (读者要一眼看出什么)
|
|
30
|
+
|
|
31
|
+
请你:
|
|
32
|
+
- 只根据材料组织内容,不要发明事实或结论
|
|
33
|
+
- 自行处理图形语法、布局和手机阅读适配,不要让我学习标签或写 CSS
|
|
34
|
+
- 「时间线图」是推荐起点:按原文日期或时间点排列事件,保留顺序和日期;不要做成按时长比例的进度
|
|
35
|
+
- 推荐图示不是唯一合法写法;需要时仍可在同一 compose 里搭配必要的 Markdown / HTML 基础块
|
|
36
|
+
- 不要另起一种作者围栏或新语法,只使用 garden compose
|
|
37
|
+
```
|
|
38
|
+
````
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "路径标注图"
|
|
3
|
+
navTitle: "路径标注图"
|
|
4
|
+
description: "适合在已有流程或状态图上标出走到哪"
|
|
5
|
+
section: diagrams
|
|
6
|
+
order: 181
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Generated by scripts/handbook-diagrams.mjs. Do not edit by hand. -->
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
适合在已有流程或状态图上标出走到哪。
|
|
14
|
+
|
|
15
|
+
只需要展示结构,或节点、连线过多时先拆开。
|
|
16
|
+
|
|
17
|
+
Typora 和 VS Code / Cursor 共用同一份推荐列表。在 `/garden` 里,这一项的名称和适用说明与上面相同。选中后会插入下面的 `garden compose` 说明草稿。补全材料和表达目标,再交给 AI 编译。
|
|
18
|
+
|
|
19
|
+
推荐说明草稿是起点,不是语法课,也不是唯一合法写法。需要时仍可在同一个 `garden compose` 里搭配 Markdown 或安全 HTML 基础块。
|
|
20
|
+
|
|
21
|
+
````markdown
|
|
22
|
+
```garden compose
|
|
23
|
+
请根据我提供的材料和表达目标,用 garden compose 做一个「路径标注图」说明图。
|
|
24
|
+
|
|
25
|
+
我的材料:
|
|
26
|
+
- (粘贴原文条目和需要保留的措辞)
|
|
27
|
+
|
|
28
|
+
我的表达目标:
|
|
29
|
+
- (读者要一眼看出什么)
|
|
30
|
+
|
|
31
|
+
请你:
|
|
32
|
+
- 只根据材料组织内容,不要发明事实或结论
|
|
33
|
+
- 自行处理图形语法、布局和手机阅读适配,不要让我学习标签或写 CSS
|
|
34
|
+
- 「路径标注图」是推荐起点:在已有状态图或流程上标出当前走到哪一步,不要发明原文没有的节点或转移
|
|
35
|
+
- 推荐图示不是唯一合法写法;需要时仍可在同一 compose 里搭配必要的 Markdown / HTML 基础块
|
|
36
|
+
- 不要另起一种作者围栏或新语法,只使用 garden compose
|
|
37
|
+
```
|
|
38
|
+
````
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "参数调节图"
|
|
3
|
+
navTitle: "参数调节图"
|
|
4
|
+
description: "适合让读者改一两个输入,看结果怎么变"
|
|
5
|
+
section: diagrams
|
|
6
|
+
order: 141
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Generated by scripts/handbook-diagrams.mjs. Do not edit by hand. -->
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
适合让读者改一两个输入,看结果怎么变。
|
|
14
|
+
|
|
15
|
+
只有一个固定例子要讲,或输入过多时先拆开;一个输入带动多项输出时用换算图。
|
|
16
|
+
|
|
17
|
+
Typora 和 VS Code / Cursor 共用同一份推荐列表。在 `/garden` 里,这一项的名称和适用说明与上面相同。选中后会插入下面的 `garden compose` 说明草稿。补全材料和表达目标,再交给 AI 编译。
|
|
18
|
+
|
|
19
|
+
推荐说明草稿是起点,不是语法课,也不是唯一合法写法。需要时仍可在同一个 `garden compose` 里搭配 Markdown 或安全 HTML 基础块。
|
|
20
|
+
|
|
21
|
+
````markdown
|
|
22
|
+
```garden compose
|
|
23
|
+
请根据我提供的材料和表达目标,用 garden compose 做一个「参数调节图」说明图。
|
|
24
|
+
|
|
25
|
+
我的材料:
|
|
26
|
+
- (粘贴原文条目和需要保留的措辞)
|
|
27
|
+
|
|
28
|
+
我的表达目标:
|
|
29
|
+
- (读者要一眼看出什么)
|
|
30
|
+
|
|
31
|
+
请你:
|
|
32
|
+
- 只根据材料组织内容,不要发明事实或结论
|
|
33
|
+
- 自行处理图形语法、布局和手机阅读适配,不要让我学习标签或写 CSS
|
|
34
|
+
- 「参数调节图」是推荐起点:写出可调的输入和随之变化的结论,默认状态就要能看懂;不要让作者去写程序
|
|
35
|
+
- 推荐图示不是唯一合法写法;需要时仍可在同一 compose 里搭配必要的 Markdown / HTML 基础块
|
|
36
|
+
- 不要另起一种作者围栏或新语法,只使用 garden compose
|
|
37
|
+
```
|
|
38
|
+
````
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "上下对照图"
|
|
3
|
+
navTitle: "上下对照图"
|
|
4
|
+
description: "适合把背景过程和重点过程分行对照"
|
|
5
|
+
section: diagrams
|
|
6
|
+
order: 51
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Generated by scripts/handbook-diagrams.mjs. Do not edit by hand. -->
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
适合把背景过程和重点过程分行对照。
|
|
14
|
+
|
|
15
|
+
不是在比两套过程、或其实是同一条件下的方案对比时,不要用这种分行对照。
|
|
16
|
+
|
|
17
|
+
Typora 和 VS Code / Cursor 共用同一份推荐列表。在 `/garden` 里,这一项的名称和适用说明与上面相同。选中后会插入下面的 `garden compose` 说明草稿。补全材料和表达目标,再交给 AI 编译。
|
|
18
|
+
|
|
19
|
+
推荐说明草稿是起点,不是语法课,也不是唯一合法写法。需要时仍可在同一个 `garden compose` 里搭配 Markdown 或安全 HTML 基础块。
|
|
20
|
+
|
|
21
|
+
````markdown
|
|
22
|
+
```garden compose
|
|
23
|
+
请根据我提供的材料和表达目标,用 garden compose 做一个「上下对照图」说明图。
|
|
24
|
+
|
|
25
|
+
我的材料:
|
|
26
|
+
- (粘贴原文条目和需要保留的措辞)
|
|
27
|
+
|
|
28
|
+
我的表达目标:
|
|
29
|
+
- (读者要一眼看出什么)
|
|
30
|
+
|
|
31
|
+
请你:
|
|
32
|
+
- 只根据材料组织内容,不要发明事实或结论
|
|
33
|
+
- 自行处理图形语法、布局和手机阅读适配,不要让我学习标签或写 CSS
|
|
34
|
+
- 「上下对照图」是推荐起点:写清上面的背景过程和下面的重点过程各自有哪些阶段,哪一行是重点
|
|
35
|
+
- 推荐图示不是唯一合法写法;需要时仍可在同一 compose 里搭配必要的 Markdown / HTML 基础块
|
|
36
|
+
- 不要另起一种作者围栏或新语法,只使用 garden compose
|
|
37
|
+
```
|
|
38
|
+
````
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "推荐图示"
|
|
3
|
+
navTitle: "推荐图示"
|
|
4
|
+
description: "Typora 和 VS Code 内置推荐图示的名称、示意图、适用场景和推荐说明草稿。"
|
|
5
|
+
section: diagrams
|
|
6
|
+
order: 1
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Generated by scripts/handbook-diagrams.mjs. Do not edit by hand. -->
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
Typora 和 VS Code / Cursor 的 `/garden` 列表来自同一份内置推荐列表,目前共 21 项:20 种常用图示,最后一项是「其他」。选中一项会插入统一的 `garden compose` 说明草稿,不是另一种作者围栏。推荐说明草稿用来写清材料和表达目标,不是语法课。
|
|
13
|
+
|
|
14
|
+
「其他」用于现成图示无法表达、或需要自由组合图文的内容。不必把下面的列表当成合法白名单。
|
|
15
|
+
|
|
16
|
+
入口和编译步骤见 [Compose](/garden/components/compose) 与 [语法检查与快捷输入](/garden/workflow)。
|
|
17
|
+
|
|
18
|
+

|
|
19
|
+
|
|
20
|
+
**[关联图](/garden/components/diagrams/columns-join/)** 适合说明两边如何通过中间一项关联起来。
|
|
21
|
+
|
|
22
|
+

|
|
23
|
+
|
|
24
|
+
**[发散图](/garden/components/diagrams/fan-out/)** 适合说明先到一处,再同时连到好几处。
|
|
25
|
+
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
**[分层图](/garden/components/diagrams/layers/)** 适合说明自上而下的层次,不必按顺序走完。
|
|
29
|
+
|
|
30
|
+

|
|
31
|
+
|
|
32
|
+
**[并列图](/garden/components/diagrams/facets/)** 适合说明一件事的几个方面,没有先后顺序。
|
|
33
|
+
|
|
34
|
+

|
|
35
|
+
|
|
36
|
+
**[上下对照图](/garden/components/diagrams/two-row/)** 适合把背景过程和重点过程分行对照。
|
|
37
|
+
|
|
38
|
+

|
|
39
|
+
|
|
40
|
+
**[图文列表](/garden/components/diagrams/icon-rail/)** 适合逐条说明互不依赖的内容。
|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
**[流程图](/garden/components/diagrams/sequence/)** 适合说明一件事按什么顺序完成。
|
|
45
|
+
|
|
46
|
+

|
|
47
|
+
|
|
48
|
+
**[分步图](/garden/components/diagrams/steps/)** 适合一步步解释,步骤里可以展开细节。
|
|
49
|
+
|
|
50
|
+

|
|
51
|
+
|
|
52
|
+
**[对比图](/garden/components/diagrams/compare/)** 适合比较两三种方案在同一条件下的差异。
|
|
53
|
+
|
|
54
|
+

|
|
55
|
+
|
|
56
|
+
**[时间线图](/garden/components/diagrams/timeline/)** 适合按日期或时间点排列事件。
|
|
57
|
+
|
|
58
|
+

|
|
59
|
+
|
|
60
|
+
**[时序图](/garden/components/diagrams/lanes/)** 适合说明谁在什么时候向谁发了什么。
|
|
61
|
+
|
|
62
|
+

|
|
63
|
+
|
|
64
|
+
**[选项卡](/garden/components/diagrams/tabs/)** 适合几组说明互相独立、一次只看一组。
|
|
65
|
+
|
|
66
|
+

|
|
67
|
+
|
|
68
|
+
**[数据图](/garden/components/diagrams/chart/)** 适合把已有数字画成柱状、折线或占比。
|
|
69
|
+
|
|
70
|
+

|
|
71
|
+
|
|
72
|
+
**[参数调节图](/garden/components/diagrams/tunable/)** 适合让读者改一两个输入,看结果怎么变。
|
|
73
|
+
|
|
74
|
+

|
|
75
|
+
|
|
76
|
+
**[换算图](/garden/components/diagrams/converter/)** 适合一个输入同时算出好几项结果。
|
|
77
|
+
|
|
78
|
+

|
|
79
|
+
|
|
80
|
+
**[代码走查](/garden/components/diagrams/code-walkthrough/)** 适合一行行看代码执行到哪、变量是多少。
|
|
81
|
+
|
|
82
|
+

|
|
83
|
+
|
|
84
|
+
**[逐步演示](/garden/components/diagrams/stepper/)** 适合让读者停在某一步,看状态怎么变。
|
|
85
|
+
|
|
86
|
+

|
|
87
|
+
|
|
88
|
+
**[路径标注图](/garden/components/diagrams/trace/)** 适合在已有流程或状态图上标出走到哪。
|
|
89
|
+
|
|
90
|
+

|
|
91
|
+
|
|
92
|
+
**[步骤清单](/garden/components/diagrams/plan/)** 适合读者照着一项项做,并回来查看进度。
|
|
93
|
+
|
|
94
|
+

|
|
95
|
+
|
|
96
|
+
**[格子图](/garden/components/diagrams/inspect-grid/)** 适合标出二维结构里哪几格特别、为什么。
|
|
97
|
+
|
|
98
|
+

|
|
99
|
+
|
|
100
|
+
**[其他](/garden/components/diagrams/other/)** 适合现成图形无法表达、需要自由组合图文的内容。
|
|
@@ -6,7 +6,7 @@ section: components
|
|
|
6
6
|
order: 43
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
单独占一段的网址,或链接末尾紧跟 `{card}
|
|
9
|
+
单独占一段的网址,或链接末尾紧跟 `{card}`,会渲染成链接卡片(同站与外站同一套逻辑)。例外:单独一行的可播放 YouTube / Bilibili 视频链接会变成站内播放器,见[写文章](/garden/writing);若仍要卡片,在链接后紧跟 `{card}`。正文里带标题的普通链接不会变成卡片,例如 [Typora](https://typora.io/):外站只在文字前加站点 Favicon,右上角标 `↗`,图标与第一个字留在同一行;同站标题链接仍在站内跳转。
|
|
10
10
|
|
|
11
11
|
- **什么时候用**:希望读者点开之前先看到网站名、标题和简介。
|
|
12
12
|
- **什么时候不用**:句子里只要标出出处时用[来源胶囊](/garden/components/source);要自己写几条要点时用[知识卡片](/garden/components/compose)。
|
|
@@ -9,5 +9,6 @@ order: 30
|
|
|
9
9
|
文章布局、富文本、语义场景与交互说明统一使用一个 `garden compose` 围栏。在入口内部选择并组合组件;普通 Markdown 已能表达清楚时不用增加组件。
|
|
10
10
|
|
|
11
11
|
- [Compose](/garden/components/compose)
|
|
12
|
+
- [推荐图示](/garden/components/diagrams)
|
|
12
13
|
- [Compose reference](/garden/reference/compose)
|
|
13
14
|
- [Icons](/garden/reference/compose-icons)
|
|
@@ -9,7 +9,9 @@ badge: compose
|
|
|
9
9
|
|
|
10
10
|
`garden compose` is the single Garden author entry. Inside it, combine Markdown, safe HTML content islands, layout, resources, files, relations, selectable cards, and Play interactions. See the [component reference](/garden/en/reference/compose) for capabilities, content boundaries, and contextual defaults; `npx garden ui schema` is authoritative for supported fields.
|
|
11
11
|
|
|
12
|
-
To ask AI for a structure diagram, type `/garden` and pick
|
|
12
|
+
To ask AI for a structure diagram, type `/garden` and pick a figure type (the last item is Other). That inserts a `garden compose` fence with a draft brief for that figure. Fill in your material and goal, then ask the AI to compile the post. It keeps your words in `<intent>` and builds the diagram from Markdown leaves plus catalog tags.
|
|
13
|
+
|
|
14
|
+
For every built-in figure, including its name, schematic, use case, and recommended brief, see [Recommended figures](/garden/en/components/diagrams).
|
|
13
15
|
|
|
14
16
|
## How to write
|
|
15
17
|
|