Learn the basics of typora, take your time

Instructions for using markdown

1. Title

Grammar: # (first-level title) ## (second-level title)…

Code:

#一级标题   用ctrl+n快捷键
引用: ctrl+shift+q  语法:> 加空格
无序列表:ctrl + shift + ]   有序列表:ctrl + shift + [
tab 对应下一级缩进  shift+tab退出

shortcut key:

  • Ctrl+numbers 1-6 can quickly adjust the selected text to the corresponding level title
  • Ctrl+0 can quickly change the selected text to normal text
  • Ctrl+plus sign/minus sign to add or subtract title levels
  1. ordered list

2. Paragraph

1. Line break

Code:

换行 enter
小换行 shift+enter

first row

Second line
Third line

2. dividing line

Syntax: - or*** + carriage return

Effect:


3. Text display

1. Font

grammar:

  • Bold: wrapped with a pair of double asterisks
  • Strikethrough: wrapped with a pair of small tildes (English input)
  • Underscore: wrapped with a pair of u tags
  • Italics: wrapped with a pair of single asterisks
  • Highlight: wrapped with a pair of double equal signs

Code:

**粗体**
~~删除线~~
<u>下划线</u>
*斜体*
==高亮==

Effect:

Bold

strikethrough

Underline

italics

Highlight

shortcut key:

  • Kaoru: ctrl+b
  • italics: ctrl+i
  • Underline: ctrl +U
  • Strikethrough: alt+shift+5

2. Superscript and subscript

x^2^
H~2~O

Effect:

x2

H2O

4. List

1. Unordered list

Shortcut key: ctrl+shift+]

Code:* /-/+ 加上空格

Effect: Use tab to expand the subset

  • 1
    • 2
      • 3

2. Ordered list

Shortcut key: ctrl+shift+[

Code:数字+.+空格

  1. This is 1
  2. This is 2
    1. next level

3. Task list

- [ ] 吃早餐
- [x] 背单词

Effect:

  • Eat breakfast

  • memorize words

5. Block display

It’s citation, grammar> + 回车

Effect: can be stacked continuously

6. Code display

Code:

行内代码:``在两个飘号中间输入(位于esc下面)
快捷键:ctrl+shift+`
代码块: ```输入对应语言
快捷键: ctrl+shift+k

Effect:

int a = 0;

int a = 0;
int b = a;

7. Links

Code:

www.baidu.com
[百度](www.baidu.com)
[百度](www.baidu.com "wwww.baidu.com") 多个提升
快捷键:ctrl+k

Effect:

www.baidu.com ctrl + click

Baidu

Baidu

8. Footnotes

Explain this article

Code:

[^文本]
[^文本]:解释说明

Effect:

This is a technology1

ctrl+click

9. Picture insertion

Code:

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-e05hDwWV-1684292973658)(图片路径 "图片标题")]
快捷键:ctrl+shift+I 

Effect:

10. Form

Shortcut key: ctrl +t, perform option operations on the form

11. Flowchart

Search for ready-made codes directly, no need to memorize them

Code:

```mermaid
graph LR
A[1]==>B[2]
b==>c{choose}
c-->|a=1|D[3]
c-->|a=2|D[4]

Effect:

a=1
a=2
1
2
b
choose
4

12. Emoticons

Code:

:happy :cry

Effect:

:happy:

13. Insertion of mathematical formulas

1. Formula insertion

Similar to latex formula editing

Code:

行内公式: &xxx&
独立公式:
&&
xxxx
&&

14. Supported HTML elements

Not used at the moment

Remark:

  • If you have nothing to do, take a look at the toolbar and the source code (ctrl+/). If you don’t understand, just search it;
  • Table of contents: [TOC] + Enter

12. Emoticons

Code:

:happy :cry

Effect:

:happy:

13. Insertion of mathematical formulas

1. Formula insertion

Similar to latex formula editing

Code:

行内公式: &xxx&
独立公式:
&&
xxxx
&&

14. Supported HTML elements

Not used at the moment

Remark:

  • If you have nothing to do, take a look at the toolbar and the source code (ctrl+/). If you don’t understand, just search it;
  • Table of contents: [TOC] + Enter

  1. Preferred frame ↩︎

Guess you like

Origin blog.csdn.net/qq_43377917/article/details/130721629