Skip to content

Commit bb3f56b

Browse files
committed
添加公式
1 parent 954c99a commit bb3f56b

File tree

1 file changed

+28
-30
lines changed

1 file changed

+28
-30
lines changed

README.md

+28-30
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
- [HTML 原始码](#html-原始码)
3636
- [内容目录](#内容目录)
3737
- [注脚](#注脚)
38-
- [LaTeX 公式](#LaTeX公式)
39-
- [$ 表示行内公式](#$表示行内公式)
40-
- [$$ 表示整行公式](#$$表示整行公式)
38+
- [LaTeX 公式](#latex-公式)
39+
- [$ 表示行内公式](#-表示行内公式)
40+
- [$$ 表示整行公式](#-表示整行公式)
4141
- [流程图](#流程图)
4242
- [时序图](#时序图)
4343
- [待办事宜列表](#待办事宜列表)
@@ -487,7 +487,7 @@ $closure = function () use($name) {
487487
质能守恒方程可以用一个很简洁的方程式 $E=mc^2$ 来表达。
488488
```
489489

490-
质能守恒方程可以用一个很简洁的方程式 $E=mc^2$ 来表达。
490+
质能守恒方程可以用一个很简洁的方程式, ![](https://latex.codecogs.com/gif.latex?E=mc^2) 来表达。
491491

492492
### $$ 表示整行公式
493493

@@ -497,36 +497,34 @@ $$f(x_1,x_x,\ldots,x_n) = x_1^2 + x_2^2 + \cdots + x_n^2 $$
497497
$$\sum^{j-1}_{k=0}{\widehat{\gamma}_{kj} z_k}$$
498498
```
499499

500-
$$\sum_{i=1}^n a_i=0$$
501-
$$f(x_1,x_x,\ldots,x_n) = x_1^2 + x_2^2 + \cdots + x_n^2 $$
502-
$$\sum^{j-1}_{k=0}{\widehat{\gamma}_{kj} z_k}$$
500+
![](https://latex.codecogs.com/gif.latex?\sum_{i=1}\^n\ a_i=0)
501+
502+
![](https://latex.codecogs.com/gif.latex?f(x_1,x_x,\ldots,x_n)\ =\ x_1^2\ +\ x_2^2\ +\ \cdots\ +\ x_n^2)
503+
504+
![](https://latex.codecogs.com/gif.latex?\sum^{j-1}_{k=0}{\widehat{\gamma}_{kj}\ z_k})
503505

504506
## 流程图
505507

506-
```markdown
507-
flow
508-
st=>start: Start:>https://www.markdown-syntax.com
509-
io=>inputoutput: verification
510-
op=>operation: Your Operation
511-
cond=>condition: Yes or No?
512-
sub=>subroutine: Your Subroutine
508+
```flow
509+
st=>start: Start
510+
i=>inputoutput: 输入年份n
511+
cond1=>condition: n能否被4整除?
512+
cond2=>condition: n能否被100整除?
513+
cond3=>condition: n能否被400整除?
514+
o1=>inputoutput: 输出非闰年
515+
o2=>inputoutput: 输出非闰年
516+
o3=>inputoutput: 输出闰年
517+
o4=>inputoutput: 输出闰年
513518
e=>end
514-
st->io->op->cond
515-
cond(yes)->e
516-
cond(no)->sub->io
519+
st->i->cond1
520+
cond1(no)->o1->e
521+
cond1(yes)->cond2
522+
cond2(no)->o3->e
523+
cond2(yes)->cond3
524+
cond3(yes)->o2->e
525+
cond3(no)->o4->e
517526
```
518527

519-
flow
520-
st=>start: Start:>https://www.markdown-syntax.com
521-
io=>inputoutput: verification
522-
op=>operation: Your Operation
523-
cond=>condition: Yes or No?
524-
sub=>subroutine: Your Subroutine
525-
e=>end
526-
st->io->op->cond
527-
cond(yes)->e
528-
cond(no)->sub->io
529-
530528
## 时序图
531529

532530
```sequence
@@ -540,9 +538,9 @@ Bob-->Alice: I am good thanks!
540538
使用带有 `[ ]``[x]` (未完成或已完成)项的列表语法撰写一个待办事宜列表, 例如:
541539

542540
```markdown
543-
- []早起跑步
541+
- [ ]早起跑步
544542
- [x]看书
545543
```
546544

547-
- []早起跑步
545+
- [ ]早起跑步
548546
- [x]看书

0 commit comments

Comments
 (0)