enhancement support mermaid language code block
57 字
1 分钟
enhancement support mermaid language code block
新增mermaid语法代码块渲染支持
flowchart TD
A[Start] --> B{Is it?};
B -- Yes --> C[OK];
C --> D[Rethink];
D --> B;
B -- No ----> E[End];
sequenceDiagram
Alice->>+John: Hello John, how are you?
Alice->>+John: John, can you hear me?
John-->>-Alice: Hi Alice, I can hear you!
John-->>-Alice: I feel great!
支持与分享
如果这篇文章对你有帮助,欢迎分享给更多人或赞助支持!
enhancement support mermaid language code block
https://tinyzzh.github.io/posts/2021-04-20-support-mermaid/ 相关文章 智能推荐
1
Rust 2026 经验谈 - Tokio 2026 实战
Rust Tokio 运行时配置选型、spawn 策略、task budgeting 与 cooperative yielding、tokio::select! 与 Cancel safety、join! vs try_join!、运行时生命周期管理。
2
Rust 2026 经验谈 - async/await 底层机制
Rust Future trait 详解、pinning 心智模型、poll 语义与状态转换、编译器生成的状态机反编译查看、与 goroutine/green thread 的对比。
3
Rust 2026 经验谈 - 常见 bug 模式与防御性编程
Rust unwrap 滥用与替代方案、整数溢出的 debug/release 行为差异、索引越界与 get 替代、deadlock 常见模式、clippy lint 驱动的防御性编码配置。
4
Rust 2026 经验谈 - 错误处理在库与应用中的分层设计
Rust 库级 error type 设计原则(non-exhaustive 枚举、从低层错误抽象而非透传)、应用级错误聚合与展示、错误与 tracing 的协作、错误转换反模式。
5
Rust 2026 经验谈 - 可恢复 vs 不可恢复的抉择
Rust 深入 panic! vs Result 的设计哲学、panic hook 定制、catch_unwind 与 FFI 安全、abort vs unwind 策略选择,以及 panic 在测试中的独特作用。
随机文章 随机推荐
TinyZ's Blog