Markdown編輯器之Typora for Windows

點贊、關注再看,養成良好習慣
Life is short, U need Python
初學Python,快來點我吧
在這裏插入圖片描述



1. Typora 下載與安裝

(1)Typora 下載

  • 官網下載:https://typora.io/
  • 網盤下載:
    • 鏈接:https://pan.baidu.com/s/12QW3ml4w6GLwNCvvkKOUhg
    • 提取碼:bujx

(2)Typora 安裝

  • 找到安裝軟件雙擊安裝即可(無難度,且非常快)

2. Markdown 使用指南

(1)段落和斷行

  • 段落就是一個或多個連續的文本行。在markdown源代碼中,段落由兩個或多個空行分隔。
  • 斷行又稱換行,按’ Shift ’ + ’ Enter '創建單個換行符;或者行尾留兩個空格;或者行尾添加 “<>”(裏面寫上br)

(2)標題

# 一階標題  或者 快捷鍵Ctrl+1
## 二階標題 或者 快捷鍵Ctrl+2
### 三階標題 或者 快捷鍵Ctrl+3
#### 四階標題 或者 快捷鍵Ctrl+4
##### 五階標題 或者 快捷鍵Ctrl+5

(3)引用

> 一級引用
>> 二級引用
>>> 三級引用
  • 顯示形式:

一級引用

二級引用

三級引用

(4)列表

 1. 無序列表(* 後加空格,其中*可以換成 + 或 - )
*   Red
	* Red_1
		* Red_1_1
*   Green

2. 有序列表(數字後面加上一個 . 再按下空格即可)
1.  Red
2.  Green
  • 顯示形式:
  • Red
    • Red_1
      • Red_1_1
  • Green

(5)任務列表

- [ ] a task list item
	- [ ] list syntax required  (兩個空格或者Tab鍵)
- [x] completed
  • 顯示形式:
  • a task list item
    • list syntax required
  • completed

(6)代碼塊

  • Typora中使用代碼塊的方式:
    • 英文狀態下輸入三個 '(Esc下面的那個按鍵)再按下enter
    • 在Typora的段落菜單中直接選擇代碼塊
    • 書寫單行代碼只需將所寫內容用 ‘’ (Esc下面的那個按鍵)進行包裹
  • 顯示形式:
def foo():
	print('hello python')
foo()

(7)數學公式塊

  • 外聯公式
$$
\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}
$$
  • 顯示形式:
    V1×V2=ijkXuYu0XvYv0 \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}
  • 內聯公式
The function $f(x,y)=x^2 + y^2$ is .......
  • 顯示形式:

The function f(x,y)=x2+y2f(x,y)=x^2 + y^2 is …

(8)表格

  • 使用typora創建表格可以使用快捷鍵 ctrl+t,就會彈出創建表格的頁面
  • 在軟件內的 段落 菜單中選擇表格即可
  • 也可以使用markdown語法
| First Header  | Second Header |
| ------------------| --------------------- |
| Content Cell  | Content Cell      |
| Content Cell  | Content Cell      |
| Left-Aligned  | Center Aligned  | Right Aligned |
| :------------ |:---------------:| -----:|      # 冒號調整居左、中、右
| col 3 is      | some wordy text | $1600 |
| col 2 is      | centered        |   $12 |
| zebra stripes | are neat        |    $1 |
  • 顯示形式:
First Header Second Header
Content Cell Content Cell
Content Cell Content Cell
Left-Aligned Center Aligned Right Aligned
col 3 is some wordy text $1600
col 2 is centered $12
zebra stripes are neat $1

(9)腳註

You can create footnotes like this. Life is short, you need Python[^1].

[^1]:  Python之禪.
  • 顯示形式:
    You can create footnotes like this. Life is short, you need Python[^1].

(10)水平線(分割線)

--- 或 ***
  • 顯示形式:

(11)目錄

[toc] + Enter鍵,自動生成目錄

(12)鏈接

  • 引用鏈接
[百度][id]
[id]: https://baidu.com
  • 超鏈接:[鏈接描述](鏈接地址)[ ]()

(13)插入圖片

  • 在typora中插入圖片主要有以下方式:
    • 直接將本地圖片拖到需要放置圖片的位置
    • 在編輯菜單中選擇圖片工具再選擇插入本地圖片
    • 語法格式
![圖片內容](http://t10.baidu.com/it/u=1069603383,3074552113&fm=170&s=771B15C75C12D8D61C3C69FB0300501F&w=640&h=426&img.JPEG "Optional title")   #  鼠標指向圖片顯示:Optional title
  • 顯示形式:Alt text

(14)字體

  • 加粗:文字前後分別有兩個 ** 或者 __ 或者捷鍵 ctrl+B
  • 斜體:文字前後分別有一個 * 或者 _ 或者捷鍵 ctrl+I
  • 斜粗體:文字前後分別有三個 *** 或者 ___
  • 刪除線:~~刪除線寫法~~
  • 下劃線:<u>下劃線</u>
  • 其它設置如下:
<font color=blue size=6 face="黑體">人生苦短,我用Python!
  • 顯示形式: 人生苦短,我用Python!

(15)表情符號

  • :smile::cry:
  • 顯示形式:
    😄
    😢

(16)高亮顯示

  • 語法結構:==highlight==
  • 顯示形式:
    Life is short, U need Python!

(17)文本居中

  • 語法規則:<center>居中的文本內容</center>

(18)文本兩端對齊

  • 語法規則:
<p style="text-align:justify;text-justify:inter-ideograph;">文本內容</p>
  • 顯示形式:

Life is short, U need Python.Life is short, U need Python.Life is short, U need Python.Life is short, U need Python.Life is short, U need Python.Life is short, U need Python.Life is short, U need Python.Life is short, U need PythonLife is short, U need Python.

(19)音頻、視頻

  • 語法規則:<video src="xxx.mp4" />

(20)有待補充


  • 寫作不易,切勿白剽
  • 博友們的點贊關注就是對博主堅持寫作的最大鼓勵
  • 持續更新,未完待續…
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章