有道云笔记画甘特图
创建步骤
新建markdown

切换显示模式

代码模板
```
gantt
%% 定义日期输入格式
dateFormat YYYY-MM-DD
%% x轴日期格式:默认的输出日期格式为YYYY-MM-DD
axisFormat %m-%d
%% 当前日期标记
todayMarker stroke-width:5px,stroke:#0f0,opacity:0.5
%% 排除非工作日
excludes weekends
title 项目计划表
section 初期阶段
明确需求: a1, 2025-03-21, 10d
section 中期阶段
开发测试: 2025-04-04, 10d
section 后期阶段
部署上线: after a1, 10d
```
效果预览

学习计划表
```
gantt
%% 定义日期输入格式
dateFormat YYYY-MM-DD
%% x轴日期格式:默认的输出日期格式为YYYY-MM-DD
axisFormat %m-%d
%% 当前日期标记
todayMarker stroke-width:5px,stroke:#0f0,opacity:0.5
%% 排除非工作日
excludes weekends
title 微服务
section 准备阶段
理论知识: 2025-03-28, 45d
文档输出: 2025-03-28, 45d
环境搭建: a,2025-03-28, 1d
section 探索阶段
熟悉项目结构: b, after a, 3d
通过API接口测试登录流程: c, after b, 7d
跟踪一个业务请求完整路径: d, after c, 5d
系统监控: after b, 12d
section 上手阶段
新增微服务模块: e, after d, 10d
自定义路由规则: f, after e, 2d
配置url限流规则: g, after f, 2d
系统部署: h, after g, 2d
section 进阶阶段
分布式事务: i, after h, 5d
熔断降级: j, after i, 3d
```
参考文章
【1】甘特图语法

浙公网安备 33010602011771号