typora使用手冊


Typora使用方法

0.目錄

1.斜體粗體

1. *斜體*,_斜體_    (快捷鍵Ctrl+I)
2. **粗體** 		  (快捷鍵Ctrl+B)
3. ***粗斜***			   
4. ~~刪除線~~		 (快捷鍵Alt Shift+5)
5. <u>下划線</u>	 (快捷鍵Ctrl+U)
6. <center>居中</center>
  1. 斜體斜體

  2. 粗體

  3. 粗斜

  4. 刪除線

  5. 下划線

  6. 居中

2.分級標題

2.1.第一種

1.一級標題
===
2.二級標題
---

2.2.第二種

1.# 一級標題
2.##二級標題
3.###三級標題

image-20200416185227929

3.超鏈接

3.1.行內式

[B站](https://www.bilibili.com "鏈接標題")
快捷鍵:Ctrl+K

B站

3.2.參考式

[B站][1]
[1]:https://www.bilibili.com 

B站

3.3.自動鏈接

https://www.bilibili.com

4.錨點

[超鏈接名](#鏈接位置的名字)

如:3.超鏈接

如:目錄

5.列表

5.1. 無序列表

1. * 無序列表
2. + 無序列表
3. - 無序列表

(注意符號后面要有空格)

  • 無序列表

5.2.有序列表

(數字句號空格)
1. 有序列表
2. 有序列表有序列表
  1. 有序列表

  2. 有序列表

5.3.引用列表

*	引用列表
	>1
	>2
  • 引用列表

    1
    2

6.引用

在文本前加上>符號,如果嵌套,多加>

>第一層
>>第二層
>>>第三層

第一層

第二層

第三層

7.插入圖片

和超鏈接類似,只不過前面多一個!快捷鍵:ctrl+shift+i

7.1.行內式

![長澤雅美](https://gitee.com/xsyzer/image_01/raw/master/img/20200416131451.png)

長澤雅美:
長澤雅美

7.2.參考式

![長澤雅美][1]
[1]:https://gitee.com/xsyzer/image_01/raw/master/img/20200416181553.png "長澤雅美"

注意:]和[之間沒有空格

長澤雅美:
長澤雅美

8.顯示目錄

段落中填寫[TOC]或[toc]。

9.注腳

使用markdown[^1]
[^1]:標記語言

使用markdown[1]

10.表格

  1. 可用快捷鍵Ctrl+T快速插入表格。

  2. |第一列|第二列|第三列|
    
第一列 第二列 第三列

11.分割線

在一行中用3個以上的*,-,_來建立分割線,行內不能有其他東西,符號中可以插入空格。

*****
* * *
---------
________




12.插入代碼

12.1.行內式

C語言里的函數 `scanf()` 怎么使用?

C語言里的函數scanf怎么使用?

12.2.首尾各三個`

#include <stdio.h>
int main ()
{
    printf("hello,world!")
}

13.任務列表

- [ ] 文字
- [x] 文字 
  • [ ] 文字
  • [x] 文字

14.快捷鍵

編輯 段落 格式
查找:Ctrl+F 段落:Ctrl+0 加粗:Ctrl+B
選中當前行/句:Ctrl+L 表格:Ctrl+T 斜體:Ctrl+I
選中當前格式文本:Ctrl+E 引用:Ctrl+Shift+Q 下划線:Ctrl+U
選中當前詞:Ctrl+D 增加縮進:Ctrl+] 代碼:Ctrl+Shift+`
替換:Ctrl+H 減少縮進:Ctrl+[ 刪除線:Alt+Shift+5
超鏈接:Ctrl+K
圖像:Ctrl+Shift+I

15.畫圖 (```mermaid)

1.流程圖

graph TD
a-->b
a-->c
b-->d
graph TD; a-->b; a-->c; b-->d;

2.時序圖

sequenceDiagram
	A-->>B: put
	B-->>A: get
sequenceDiagram A-->>B: put B-->>A: get

3.狀態圖

stateDiagram
	[*]-->s1
	s1-->[*]
stateDiagram [*]-->s1 s1-->[*]

4.類圖

classDiagram
      Animal <|-- Duck
      Animal <|-- Fish
      Animal <|-- Zebra
      Animal : +int age
      Animal : +String gender
      Animal: +isMammal()
      Animal: +mate()
      class Duck{
          +String beakColor
          +swim()
          +quack()
      }
      class Fish{
          -int sizeInFeet
          -canEat()
      }
      class Zebra{
          +bool is_wild
          +run()
      }
classDiagram Animal <|-- Duck Animal <|-- Fish Animal <|-- Zebra Animal : +int age Animal : +String gender Animal: +isMammal() Animal: +mate() class Duck{ +String beakColor +swim() +quack() } class Fish{ -int sizeInFeet -canEat() } class Zebra{ +bool is_wild +run() }

5.甘特圖

gantt
    title 工作計划
    dateFormat  YYYY-MM-DD
    section Section
    A task           :a1, 2020-01-01, 30d
    Another task     :after a1  , 20d
    section Another
    Task in sec      :2020-01-12  , 12d
    another task      : 24d
gantt title 工作計划 dateFormat YYYY-MM-DD section Section A task :a1, 2020-01-01, 30d Another task :after a1 , 20d section Another Task in sec :2020-01-12 , 12d another task : 24d

6.餅圖

pie
    title Test
    "A" : 35
    "B" : 50
    "C" : 10
    "D" :  5
pie title Test "A" : 35 "B" : 50 "C" : 10 "D" : 5

  1. 標記語言 ↩︎


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM