Up in the Air!
在云端
Home
Categories
Archives
Tags
About
Home
Leanote 支持 emoji、chart.js 以及 mermaid
Leanote 支持 emoji、chart.js 以及 mermaid
取消
Leanote 支持 emoji、chart.js 以及 mermaid
由
aoeII
发布于 2022-08-11
·
最后更新:2022-08-28
450
本文转载自[Leanote 支持 Mermaid,Chartjs 及修复 Bug](https://blog.ctaoist.cn/blog/post/ctaoist/Leanote%E6%94%AF%E6%8C%81Mermaid-Chartjs%E5%8F%8A%E4%BF%AE%E5%A4%8DBug) [emoji完整列表](https://emoji-css.afeld.me/) 用法:把emoji的名称去掉前缀`em-`,前后各用1个`:`包起来即可 emoji 效果展示: 代码: :zap: 效果: ::: success :zap: This is the the success container ::: 代码: :tada: 效果: ::: info :tada: This is the info container ::: 代码: :fire: 效果: ::: danger :fire: This is the danger container ::: 代码: :mega: 效果: ::: warning :mega: This is the warn container ::: ---------- 时序图: ```mermaid sequenceDiagram A->> B: Query B->> C: Forward query Note right of C: Thinking... C->> B: Response B->> A: Forward response ``` ```mermaid sequenceDiagram A->> B: Query B->> C: Forward query Note right of C: Thinking... C->> B: Response B->> A: Forward response ``` ---------- 甘特图: ```mermaid gantt title Title Example section sectionA taskA: done, 2021-2-4, 1d taskB: 2021-2-5, 1d taskC: active, 2021-2-6, 3d taskD: crit, 2021-2-9, 2d section 任务2 子任务1: active, des3, 2021-2-5, 4d 子任务2: des4, after des3, 3d ``` ```mermaid gantt title Title Example section sectionA taskA: done, 2021-2-4, 1d taskB: 2021-2-5, 1d taskC: active, 2021-2-6, 3d taskD: crit, 2021-2-9, 2d section 任务2 子任务1: active, des3, 2021-2-5, 4d 子任务2: des4, after des3, 3d ``` ---------- Chart的圆饼图: ```chart { "type": "pie", "data": { "labels": [ "Red", "Blue", "Yellow" ], "datasets": [ { "data": [ 300, 50, 100 ], "backgroundColor": [ "#FF6384", "#36A2EB", "#FFCE56" ] } ] }, "options": { "responsive": false } } ``` ```chart { "type": "pie", "data": { "labels": [ "Red", "Blue", "Yellow" ], "datasets": [ { "data": [ 300, 50, 100 ], "backgroundColor": [ "#FF6384", "#36A2EB", "#FFCE56" ] } ] }, "options": { "responsive": false } } ```
study
Linux
该博客文章由作者通过
CC BY 4.0
进行授权。
分享
最近更新
ESXi 6.7 离线升级 7.0U3
N5105 软路由安装 ESXi 7 直通核显给 Debian / Ubuntu 虚拟机通过 Docker 实现 jellyfin 硬件转码视频文件(硬解/编码)
Leanote 支持 emoji、chart.js 以及 mermaid
手把手教你自建开源免费私有云盘服务nextcloud 14
在Centos 6和7上安装设置MySQL / MariaDB 5.5或以上的版本
热门标签
linux
centos
python
ESXi
windows
leanote
mysql
font
Docker
phpmyadmin
文章目录
-
N5105 软路由安装 ESXi 7 直通核显给 Debian / Ubuntu 虚拟机通过 Docker 实现 jellyfin 硬件转码视频文件(硬解/编码)