feat: 添加信息图生成功能及其多语言提示,并更新相关逻辑。

This commit is contained in:
fujie
2025-12-29 00:38:20 +08:00
parent 66a6d6b103
commit 1930d415ee
10 changed files with 1059 additions and 6 deletions

View File

@@ -96,7 +96,27 @@ Infographic syntax is a Mermaid-like declarative syntax for describing infograph
- `colorBg`: Background color (Hex)
- `palette`: Color list (Space separated)
- `textColor`: Text color (Hex)
- `stylize`: Style effect (e.g., `rough`, `flat`)
- `stylize`: Style effect configuration
- `type`: Style type (`rough`, `pattern`, `linear-gradient`, `radial-gradient`)
#### 4. Stylize Examples
**Rough Style (Hand-drawn):**
```infographic
infographic list-row-simple-horizontal-arrow
theme
stylize rough
data
...
```
**Gradient Style:**
```infographic
infographic chart-bar
theme
stylize linear-gradient
data
...
```
### Examples