这是一篇markdown学习文档

Markdown学习入门(Typora)

1. 数学公式的支持

\[x^2=1 \]

\[\mathbf{V}_1\times\mathbf{V}_2 = \mathbf{X}_3 \]

\[\mathbf{V}_1 \times \mathbf{V}_2 = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \frac{\partial X}{\partial u} & \frac{\partial Y}{\partial u} & 0 \\ \frac{\partial X}{\partial v} & \frac{\partial Y}{\partial v} & 0 \\ \end{vmatrix} ${$tep122}{\style{visibility:hidden}{(x+1)(x+1)}} \]

Delete it

\[X=\left| \begin{matrix} x_{11} & x_{12} & \cdots & x_{1d}\\ x_{21} & x_{22} & \cdots & x_{2d}\\ \vdots & \vdots & \ddots & \vdots \\ x_{11} & x_{12} & \cdots & x_{1d}\\ \end{matrix} \right| \]

\[f(n)= \begin{cases} n/2, & \text{if $n$ is even}\\ 3n+1,& \text{if $n$ is odd} \end{cases} \]

\[\left\{ \begin{array}{c} a_1x+b_1y+c_1z=d_1\\ a_2x+b_2y+c_2z=d_2\\ a_3x+b_3y+c_3z=d_3 \end{array} \right. \]

\[J(\theta) = \frac{1}{2m}\sum_{i=0}^m(y^i - h_\theta(x^i))^2 \]

$$ H_c=\sum_{l_1+\dots +l_p}\prod^p_{i=1} \binom{n_i}{l_i} $$

\[\frac{\partial J(\theta)}{\partial\theta_j} = -\frac1m\sum_{i=0}^m(y^i - h_\theta(x^i))x_j^i \]

\[\begin{align} \frac{\partial J(\theta)}{\partial\theta_j} & = -\frac1m\sum_{i=0}^m(y^i - h_\theta(x^i)) \frac{\partial}{\partial\theta_j}(y^i-h_\theta(x^i))\\ & = -\frac1m\sum_{i=0}^m(y^i-h_\theta(x^i)) \frac{\partial}{\partial\theta_j}(\sum_{j=0}^n\theta_j x^i_j-y^i)\\ &=-\frac1m\sum_{i=0}^m(y^i -h_\theta(x^i)) x^i_j \end{align} \]

\[\max \limits_{a<x<b}\{f(x)\} \]

2. 图片的插入

2.1 网络图片

logo

2.2 美女镇楼

3. 代码块高亮显示

public void static main(){
  system.out.println("hello world!");
}

function fibo(n) {
    fibo.mem = fibo.mem || []; // I am some comment
    return fibo.mem[n] || fibo.mem[n] = n <= 1 ? 1 : fibo(n - 1) + fibo(n - 2);
}

4. 必须的表格

文档/项目 客户分类 批零网配 经营助手 积分管理 工商网配 营销队伍转型 企业数字化转型
需求说明书
需求确认书
系统概要设计
系统详细设计
源代码
用户手册
上线确认书
验收报告

5. 特殊字符的显示

使用 Ctrl+Alt+Del 重启电脑

use Ctrl+Alt+Del reboot the computer.

\   反斜线
`   反引号
*   星号
_   下划线
{}  花括号
[]  方括号
()  小括号
#   井字号
+   加号
-   减号
.   英文句点
!   感叹号

&copy;      版权      
&reg;       注册商标
&trade;     商标
&nbsp;      空格
&amp;       和号
&quot;      引号
&apos;      撇号
&lt;        小于号
&gt;        大于号
&ne;        不等号
&le;        小于等于
&ge;        大于等于
&cent;      分
&pound;     磅
&euro;      欧元
&yen;       元
&sect;      节
&times;     乘号
&divide;    除号
&plusmn;    正负号

😄

H2O (需在设置中打开该功能) \(H_2O\)

6. 各种常用图示

6.1 时序图

李雷 -> 韩梅梅: Hello 梅梅, How are you?
Note right of 韩梅梅: 韩梅梅心想
韩梅梅 --> 李雷: I'm fine, thanks, and you?

6.2 流程图

st=>start: 闹钟响起
op=>operation: 与床板分离
cond=>condition: 分离成功?
e=>end: 快乐的一天

st->op->cond
cond(yes)->e
cond(no)->op

6.3 甘特图

gantt dateFormat YYYY-MM-DD title 快乐的生活 section 吃一把鸡就学习 学习 :done, des1, 2014-01-06,2014-01-09 疯狂学习 :active, des2, 2014-01-09, 3d 继续疯狂学习 : des3, after des2, 5d 吃鸡! : des4, after des3, 4d section 具体内容 学习Python :crit, done, 2014-01-06,72h 学习C++ :crit, done, after des1, 2d 学习Lisp :crit, active, 3d 学习图形学 :crit, 4d 跳伞 :2d 打枪 :2d

6.4 用mermaid显示

博客园支持的是mermaid语法,因此6.1,6.2不能显示

时序图

sequenceDiagram 李雷 -> 韩梅梅: Hello 梅梅, How are you? Note right of 韩梅梅: 韩梅梅心想 韩梅梅 --> 李雷: I'm fine, thanks, and you?

流程图

graph LR start[开始] --> input[输入A,B,C] input --> conditionA{A是否大于B} conditionA -- YES --> conditionC{A是否大于C} conditionA -- NO --> conditionB{B是否大于C} conditionC -- YES --> printA[输出A] conditionC -- NO --> printC[输出C] conditionB -- YES --> printB[输出B] conditionB -- NO --> printC[输出C] printA --> stop[结束] printC --> stop printB --> stop

7. 常用快捷键

  • 加粗Ctrl/Cmd + B

  • 标题: Ctrl/Cmd + H

  • 插入链接: Ctrl/Cmd + K 百度

  • 插入代码: Ctrl/Cmd + Shift + C

  • 行内代码: Ctrl/Cmd + Shift + K

  • 插入图片: Ctrl/Cmd + Shift + I

  • 无序列表: Ctrl/Cmd + Shift + L

  • 撤销: Ctrl/Cmd + Z

  • 一级标题:快捷键为Crtl + 1,以此类推

  • 切换原文和语法:Ctrl/Cmd + /

  • 选中一行 Ctrl+L

  • 建议平常写作时,使用快捷键,使用快捷键,使用快捷键,语法了解即可。

8 . 列表

8.1 任务列表

任务列表

- [ ] 不勾选
- [x] 勾选

9. 参考链接

163参考链接

这是一个参考链接

Typora允许用<括号括起来>, 把URL作为链接插入。

http://baidu.com 删除线

ftp://emule.com.cn

Typora[1]


  1. a beautiful markdown editor.
    ↩︎

posted @ 2020-09-04 10:15  步吉阁居士  阅读(173)  评论(0编辑  收藏  举报