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)有待补充


  • 写作不易,切勿白剽
  • 博友们的点赞关注就是对博主坚持写作的最大鼓励
  • 持续更新,未完待续…
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章