[Turn] Typora minimalist Tutorial

Typora minimalist Tutorial

Typora download

" Markdown is a lightweight markup language, is the founder John Gruber (John Gruber). It allows people to" write documents using easy to read and write plain text format, and then converted into valid HTML document. "

1. Basic Operation

1.1 content directory


  • grammar
[toc]

1.2 Title


  • grammar
#       一级标题    
##      二级标题    
###     三级标题    
####    四级标题    
#####   五级标题    
######  六级标题    

1.3 references


  • grammar
> 引用内容1
> 引用内容2
>> 引用内容3 
  • effect

1 citation
citation 2

3 citations

2. Code

Single line of code 2.1


  • grammar
`String str1 = "hello";`
  • effect

String str1 = "hello";

More than 2.2 lines of code


  • grammar
​~~~
​```
​~~~java
​```c
  • effect
int a = 10;
int b = 20; 

3. List

3.1 unordered list


  • grammar
* 无序列表1
+ 无序列表2
- 无序列表3
  • effect

  • Unordered list 1

  • Unordered list 2
  • 3 unordered list

More than 3.2-line unordered list


  • grammar
* 多行无序列表1
TAB * 多行无序列表2
TAB TAB * 多行无序列表3
  • effect
  • Multi-line unordered list 1
    • 2 multi-line unordered list
      • 3 multi-line unordered list

3.3 ordered list


  • grammar
1. 有序列表1
2. 有序列表2
3. 有序列表3
  • effect
  1. 1 ordered list
  2. 2 ordered list
  3. 3 ordered list

More than 3.4-line ordered list


  • grammar
1. 多行有序列表1
2. 多行有序列表2
    1. 多行有序列表2-1
    2. 多行有序列表2-2
3. 多行有序列表3
    1. 多行有序列表3-1
    2. 多行有序列表3-2
  • effect
  1. Multi-line ordered list 1
  2. 2 multi-line ordered list
  3. Multi-line ordered list 2-1
  4. Multi-line ordered list 2-2
  5. 3 multi-line ordered list
  6. Multi-line ordered list 3-1
  7. Multi-line ordered list 3-2

3.5 Task List


  • grammar
-[ ] 抽烟
-[x] 喝酒
-[ ] 烫头
  • effect

- [] Smoking
- [X] drink
- [] hot head

Table 3.6


  • grammar
|姓名|性别|年龄|手机号| |:---|:--:|:--:|---:| |张三|男|21|18975346876| |李四|女|23|17789548964| |王五|男|25|15876513546| 
  • effect
Full name gender age phone number
Joe Smith male 21 18975346876
John Doe Female 23 17789548964
Wang Wu male 25 15876513546

4. Links

4.1 Pictures


  • Syntax 1 ( local picture )
[图片上传失败...(image-61fd19-1520850984854)] 
  • Syntax 2 ( Network Graphics )
![typora.jpg](https://upload-images.jianshu.io/upload_images/1538862-d91e815790b81e4a.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) 
  • Effect 2
typora.jpg

4.2 Hyperlinks


  • Syntax 1 ( inline-style links )
[百度][https://www.baidu.com/] 
  • Effect 1

[Baidu] [ https://www.baidu.com/]

  • Syntax 2 ( refer chaining )
[CSDN][CSDN网址] [CSDN网址]:https://www.csdn.net/ 
  • Effect 2

CSDN

  • Syntax 3 ( automatic link )
<https://github.com/> 
  • Effect 2

https://github.com/

5. Other

5.1 italic


  • grammar
*斜体*
_斜体_
  • effect

Italics
Italic

Bold 5.2


  • grammar
**加粗**
__加粗__
  • effect

Bold
bold

5.3 Underline


  • grammar
<u>下划线</u> 
  • effect

<U> underlined </ u>

5.4 strikethrough


  • grammar
~~删除线~~
  • effect

Strikethrough

5.5 dividing line


  • grammar
***
---
___
  • effect



5.6 Footnotes


  • grammar
Typora[^1]
[^1]A markdown editor
  • effect

Typora [1]

Down 5.7 standard


  • grammar
$3^2=9$ $3^{(3-1)}=9$ $H_2SO_4$ $H_{2SO_4}$ 
  • effect

$3^2=9$
$3^{(3-1)}=9$
$H_2SO_4$

$H_{2SO_4}$

Enter the symbol 5.8


  • grammar
\\   反斜线
\`   反引号
\*   星号
\_   底线
\{ \}  花括号
\[ \]  方括号
\( \)  括弧
\#   井字号
\+   加号
\-   减号
\.   英文句点
\!   惊叹号
  • effect

\ ` * _ { } [ ] ( ) # + - . !

5.9 Special characters


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

    ©
    ®

     
    &
    "
    '
    <
    >



    ¢
    £

    ¥
    §
    ×
    ÷
    ±

  • Attached

HTML special character code table


Author: Ann-off that is
the link: https: //www.jianshu.com/p/a6a6a22e9393
Source: Jane books
are copyrighted by the author. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.

Guess you like

Origin www.cnblogs.com/shuai7boy/p/11846357.html