Zen的小站

小舟从此逝,江海寄余生

0%

【markdown】编写文档

typora做笔记

基础语法

写代码右下角设置语言为bash可以在pycharm中直接运行的

进阶表达

希腊字母

$\alpha$ $\alpha$

img

绘图

输入 ```mermaid 然后敲击回车

1
2
3
4
5
6
7
8
graph TD 
%% RL LR
a[qwer] --> b
b{asdf}
a --说明--> c(zxcv)
a .-> b
a --> d
b ==> d((asdf))
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
gantt
dateFormat YYYY-MM-DD
title Adding GANTT diagram functionality to mermaid

section python仿真验证随机梯度下降
Completed task :done, des1, 2014-01-06,2014-01-08
Active task :active, des2, 2014-01-09, 3d
Future task : des3, after des2, 5d
Future task2 : des4, after des3, 5d

section Critical tasks
Completed task in the critical line :crit, done, 2014-01-06,24h
Implement parser and jison :crit, done, after des1, 2d
Create tests for parser :crit, active, 3d
Future task in critical line :crit, 5d
Create tests for renderer :2d
Add to mermaid :1d

section Documentation
Describe gantt syntax :active, a1, after des1, 3d
Add gantt diagram to demo page :after a1 , 20h
Add another diagram to demo page :doc1, after a1 , 48h

section Last section
Describe gantt syntax :after doc1, 3d
Add gantt diagram to demo page : 20h
Add another diagram to demo page : 48h

参考链接:

Mermaid从入门到入土——Markdown进阶语法 - 知乎 (zhihu.com)

收起菜单

这是原始样式

每日时间安排
  • 8:30 - 规划今天任务 - 9:00
  • 9:00 - 做瑜伽 - 9:30
  • 9:30 - 任务一 - 12:00
  • 2:30 - 任务二 - 17:00
  • 18:00 - 任务三 - 20:00
  • 20:00 - 整理总结md -

但是总是不能正确识别结束位置

写博客的话,在 hexo 中有另一种方法,【hexo】学习 | Zen的小站 (js.cool)

快捷方式

  • ctrl + shift + m打开公式编辑
  • ctrl + t插入表格
  • ctrl + b将当前句子用双*包围 | ctrl + i单包围
  • ctrl + n新建md文件
  • ctrl + p查询最近的md文件并打开

上下标高亮

在偏好设置中有

  • 下标:H~2~O:H~2~O

  • 上标:x^2^:x^2^

  • 高亮:==key==:==key==

表情符号

查找文档非官方

博客专用

  • <!-- more --> 阅读全文按钮

  • 编辑tags:top:,保证文章便于查询

  • <div align = center>文本居中</div>

  • 植物

    陆生植物

  • 标签引用

  • 标签

更多详见 基于 Hexo 的 Markdown 博文语法简介 | EisenHao’s Note

多想多做,发篇一作

-------------本文结束感谢您的阅读-------------
// 在最后添加