当前位置:网站首页>Getting started with typora: the most complete tutorial in the whole network
Getting started with typora: the most complete tutorial in the whole network
2022-07-27 18:11:00 【sf_ wilson】
Write Mrakdown Trouble ?Typora Let you write like Word It's just like running water , What you see is what you get .
brief introduction
Typora It's light and simple Markdown Editor , Support instant rendering technology , It's the same with other Markdown Editor's most significant difference . Instant rendering makes you write Markdown Just want to write Word Documents are as fluid , Unlike other editors, there are edit bar and display bar .
- Typora Deleted preview window , And all the other unnecessary interruptions . Instead, live preview .
- Markdown The syntax of depends on different parsers or editors ,Typora It uses GitHub Flavored Markdown.
Markdown Introduce
Markdown It's a lightweight markup language , It allows people to write documents in plain text format that is easy to read and write .
Markdown Language in 2004 By John · Gruber ( English :John Gruber) establish .
Markdown The written documents can be exported HTML 、Word、 Images 、PDF、Epub And so on .
Markdown The suffix of the document is .md, .markdown.
Common shortcut key
- In bold :
Ctrl + B - title :
Ctrl + H - Insert link :
Ctrl + K - Insert code :
Ctrl + Shift + C-- Unable to execute - Inline code :
Ctrl + Shift + K - Insert a picture :
Ctrl + Shift + I - Unordered list :
Ctrl + Shift + L-- Unable to execute - revoke :
Ctrl + Z - First level title :
Ctrl + 1-- And so on
Typora Shortcut key integration
```
Ctrl+1 First level title Ctrl+B Bold font
Ctrl+2 Second level title Ctrl+I Font tilt
Ctrl+3 Third level title Ctrl+U Underline
Ctrl+4 Fourth level title Ctrl+Home return Typora Top
Ctrl+5 Fifth level title Ctrl+End return Typora Bottom
Ctrl+6 The sixth level title Ctrl+T Create a table
Ctrl+L Choose a sentence Ctrl+K Create hyperlinks
Ctrl+D Select a word Ctrl+F Search for
Ctrl+E Select text in the same format Ctrl+H Search and replace
Alt+Shift+5 Delete line Ctrl+Shift+I Insert a picture
Ctrl+Shift+M Formula block Ctrl+Shift+Q quote
notes : Some entity symbols need to be preceded by ”\” To show
```
A block element
A newline
stay markdown in , Paragraphs are separated by spaces . stay Typora in , Just press enter to create a new paragraph .
Title level
# First level title Shortcut keys are Ctrl + 1
## Secondary title Shortcut keys are Ctrl + 2
......
###### Six level title Shortcut keys are Ctrl + 6
Quote
> + Space + Quote
Unordered list
Use * + - You can create an unordered list
- AAA
- BBB
- CCC
Ordered list
Use 1. 2. 3. Create an ordered list
- AAA
- BBB
- CCC
Task list
\ -[ ] Don't check
\ -[x] Check
Code block
stay Typora There are two ways to insert program code in : Use backquotes `(~ key )、 Use indent (Tab).
- Insert inline code , In the case of inserting a word or a code , Use
codeInsert in this form . - Insert multiple lines of code input 3 A back quote (`) + enter , And select a language name in the back to achieve syntax highlighting .
def helloworld():
print("hello, world!")
Mathematical expression
When you need to insert mathematical formulas in the editor , You can use two dollar signs $$ The parcel TeX or LaTeX Form the mathematical formula to achieve . Load as needed Mathjax Render the mathematical formula .
Press down $$, Then press enter , You can edit the mathematical formula .
$$
\mathbf{V}_1\times\mathbf{V}_2 = \mathbf{X}_3
$$
Insert table
Input | Header 1 | Header 2 | And return . You can create a containing 2 list . Shortcut key Ctrl + T Pop-up dialog box .
| id | number |
|---|---|
Either way , The first line is the header , The second behavior divides the header and the main part , The third line starts each row with a table line
Columns are piped between columns
|separateYou can also set the alignment ( Between the header and the content ), If you don't use alignment marks , The content is left aligned by default , Center the header
- Align left :|
- Right alignment |:
- Middle alignment :|:
For beauty , You can use spaces to align cells in different rows , And use it on both sides | To mark cell boundaries
In order to make Markdown Clearer ,| and - There needs to be at least one space on both sides ( The leftmost and rightmost | You don't need it outside ).
footnote
The footnotes to this example are [1].
Be careful : In this example, the footnotes are marked with 1, Footnotes can be alphanumeric underline , But Chinese is not supported at the moment . The content of footnotes can be any character , Including Chinese .
Split line
Input *** perhaps --- Press enter to draw a horizontal line , as follows :
Catalog (TOC)
Input [ toc ] And then go back , You can create a “ Catalog ”.TOC Extract all titles from the document , Its content will be automatically updated .

Span element
The span element is the picture , website , Video etc. , stay Typora After input in , Will immediately load and render .
link
internal link
The title with this attribute is [ link ](http://example.com/ " title ")
This is a no title attribute [ link ](http://example.net/)
Reference link
This is a [ Reference link ]id -- Unable to execute
website
Typora Allowed < Enclosed in brackets >, hold URL Insert as link .
Typora It will also automatically link to the standard URL .
www.baidu.com
picture


In addition to the above 2 Out of the way , You can also drag pictures in directly , Automatic link generation .
video
<video id="video" controls="" preload="none">
<source id="mp4" src="localpath/filename.mp4" type="video/mp4">
</video>Italics
Use * Single asterisk * perhaps _ Underline _ You can tilt the font . Shortcut key Ctrl + I
Italics
In bold
Use ** Two asterisks ** perhaps __ Two underscores __ It can be bold . Shortcut key Ctrl + B
In bold
Bold italics
Use *** Bold italics *** You can bold italics .
Bold italics
Code tags
Tag code uses back quotation marks , Under the English input method ,ESC Key and 1 The symbol to the left of the key .
Use this
printf()function
Delete line
Use ~~ Delete line ~~ Shortcut key Alt + Shift + 5
Delete line
Underline
\ Underline -- Unable to execute
Refer to another article , Executable .
adopt <u> The content of the underline </u> perhaps Shortcut key Ctrl + U Can realize underline
The content of the underline
emoticon
Github Of Markdown Syntax supports adding emoji expression , Enter a different symbol code ( The character surrounded by two colons ) It can show different expressions .
:smile -- Unable to display
Subscript
have access to <sub> Text </sub> Implement subscript .
( You need to turn this function on in settings )
H2O
H2O
Superscript
have access to <sup> Text </sup> Implement superscript .
( You need to turn this function on in settings )
X2
X2
The highlighted
== The highlighted ==( You need to turn this function on in settings )
I'm the most important
Center text
Use <center> This is the content to be centered </center> You can center the text
This is the text content to center
A newline
Use Space + Space + Enter You can wrap lines , for example :
Or you can use <br/> Implement line break .
escape
Markdown A lot of special symbols are used to express specific meanings , If you need to display specific symbols, you need to use escape characters ,Markdown Use backslash to escape special characters :
Bold text
** The asterisk is displayed normally **
Markdown The following symbols are supported to be preceded by a backslash to help insert ordinary symbols :
\ Backslash
` The quotation marks
* asterisk
_ Underline
{} Curly braces
[] square brackets
() parentheses
# Well number
+ plus
- minus sign
. English period
! Exclamatory mark
HTML
Support HTML
be not in Markdown Covered labels , Can be used directly in the document HTML writing .
Currently supported HTML Elements have :<kbd> <b> <i> <em> <sup> <sub> <br> etc. , Such as :
Use <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Del</kbd> Restart the computer
<kbd> </kbd> -- White frame
effect :
Use Ctrl+Alt+Del Restart the computer
Embedded content
video
summary
- It is recommended to open the outline view
Ctrl + Shift + 1 - To insert a table, you need to write , Otherwise, it will not show
- Grammar doesn't need to be memorized , Right click to query
Reference link 1:Typora introduction ( Chinese version )
Reference link 2:Typora
Reference link 3:Markdown Code blocks and syntax highlighting
Reference link 4:Markdown Use - Tables and their centered formats
Reference link 5:Markdown Grammar summary
Reference link 6:Runoob:Markdown course
边栏推荐
- What are the safety risks of small games?
- Golang concurrent cache breakdown or merge request
- Behind every piece of information you collect, you can't live without TA
- Learn from what you know | Yidun self-developed text real-time clustering technology, and wipe out the same kind of harmful content in social networks
- 1542. 找出最长的超赞子字符串 哈希+状态压缩
- vim的配置及基础使用
- golang 等待一组goroutine完成,并带返回值(2)
- Telecommuting can be easily realized in only three steps
- With the right tools, CI achieves twice the result with half the effort
- In the first week of June, risk control of e-shield business paid attention to 15 institutions such as New Oriental XRS, which were fined
猜你喜欢

WebDriverException( selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executabl

【学习笔记】Redis中有序集合zset的实现原理——跳表

Code compliance: five reasons why developers use helix QAC

TCP connection status identification (syn, fin, ACK, PSH, RST, urg)

Salesforce certified sharing and visibility Designer (su20) certification examination summary

Convolutional neural network -- Translation of yolov2 (yolo9000) papers

Convolutional neural network -- SSD thesis translation

The global cloud market is growing rapidly, and data security has entered a strong regulatory era of rule of law

【Codeforces】 A. Computer Game

I got the P8 "top-level" distributed architecture manual crazy spread on Alibaba intranet
随机推荐
Convolutional neural network -- Translation of yolov1 thesis
@Scheduled 和Quartz
卷积神经网络——SSD论文翻译
vim的配置及基础使用
1542. 找出最长的超赞子字符串 哈希+状态压缩
施耐德电气、欧莱雅等企业巨头如何开放式创新?DEMO WORLD世界创新峰会揭秘
知物由学 | 再造巴别塔,我们如何进行NLP跨语言知识迁移?
Code compliance: five reasons why developers use helix QAC
TCP的连接状态标识 (SYN, FIN, ACK, PSH, RST, URG)
[introduction to database system (Wang Shan)] Chapter 4 - Database Security
[MCU] 2.3 CPU of AT89S52
Convolutional neural network -- Introduction to FPN (feature pyramid networks)
JDBC connection database reading foreground cannot display data
XStream reports an error abstractreflectionconverter$unknownfield exception when parsing XML
MySQL solves the problem of insert failure caused by duplicate unique indexes
【学习笔记】MySQL数据库高级版 - 索引优化、慢查询、锁机制等
The latest advanced interview questions for big factories are necessary
vue使用keep-alive实现页面缓存
org.gradle.api.UncheckedIOException: Could not load properties for module ‘gradle-kotlin-dsl‘ from C
备份表恢复表