The basic use
Delete the line
~~ Delete content ~~Copy the code
Effect: Delete content
Common Shortcut keys
-
Bold: CTRL + b
-
Underline: CTRL + U
-
Italic: CTRL + I
-
Title: CTRL + N for level N, for example, CTRL +1 for level 1 title
-
Hyperlink: CTRL + K
Unordered list
Use + + TAB to create an unordered list
An ordered list
Use 1. Add TAB to generate an ordered list
block
Import blocks using >
This is a block
The divider
Use three or more * or + or – to establish the dividing line
Such as:
* * *Copy the code
The effect is as follows:
Insert the code
-
Inline code. Article insertion code, inline code such as println() uses two symbols
-
Block code. Insert the whole code with three single quotes, i.e. ‘ ‘, press enter can also select the code language, according to the language automatically code highlight.
/** * test **/ public class Test{ public static void main(String[] args){ System.out.println(args); }}Copy the code
Insert the link
< link address >
or
[Link name](url)
Such as
[My Blog](https://www.baidu.com)
End result:
My blog
Photo insert
Typora’s support for image rendering is also in place, you can directly drag and drop pictures, QQ screenshot can be directly pasted (picture path in temporary folder), support HTML code, so you can scale and other operations.
File export
The default format for Markdown is a. Md file, and the most common format for the final text output is ****PDF****. In addition to PDF, you can export Word, LaTeX, and so on.
The converted PDF will satisfy almost all of your needs, except for a few bugs. The font size can be adjusted in Settings.
Note: If you convert to Word, you will be asked to install pandoc, a text conversion tool. However, the conversion to Word is not nearly as good as the conversion to PDF, and some parts (especially formulas) are simply ignored. So after converting to Word, you need to edit it again to ensure the output.
Use the advanced
The flow chart flowchat
For Flowchart, use the code below and then choose flow as the language. Such as:
St =>start: resume application op=>operation: interview cond=>condition: successful? E =>end: st->op->cond
cond(yes)->e
cond(no)->op
Copy the code
The final X effect is as follows:
Sequence diagram sequence
Just type in the following code and select the language sequence to generate the diagram below
Liu Piaopiao: Will you support me if you don't go to work? Liu Piaopiao: Hey! Liu Piaopiao --> Yin Tianqiu: What happened again? Liu Piaopiao: I will support you! Liu Piaopiao: take care of yourself first, fool.Copy the code
form
Tables in Typora are fully graphical and very convenient. I have used some apps (like Emacs) before, you can edit tables with text + shortcut keys, but you need to remember a lot of things, and forget when you don’t use them very often. This one from Typora works so well. Table shortcuts are also easy to remember, CMD + Alt +T (Table). You can also easily edit the shape of the table, as shown below
The outline view
Typora will automatically use Heading statistics as the outline of the article, and will automatically do tree induction based on the level of the Heading. This feature is really sweet, especially if the article is long, just click on the title in the outline can easily jump to.
A mathematical formula
Typora has excellent support for LATEX syntax and a built-in rendering engine that I’ve never seen better. Below is a screenshot of the edited mathematical formula in Typora.
Upper and lower indices, plus or minus infinity
Addition, subtraction, multiplication, fraction, square root, ellipsis
Trigonometric functions
The vector, the accumulation, the multiplication, the limit
The Greek letter
Relational operator
More and more
Please refer to the typero mathematical formula summary article
Generated directory
Typora provides a one-click automatic directory generation function, very convenient. Operation is actually very simple, choose menu – paragraph – content directory, you can insert the directory where the mouse is, the most important is to change the title, the directory will automatically update.
Here is the auto-generated directory,
Map bed server configuration
Since all the local pictures of Typora are stored on the local computer, after we directly publish the article, the link of the picture is still the local address, so we cannot access it. We need to use a place specially for saving the picture, and then generate an external link, through which we can access the picture. For specific configuration methods, you can refer to this article to use Typora+PicGo to handle multiple platforms and wechat public number typesetting, using Gitee code cloud to achieve the graph bed, and through very convenient, and completely free.
Public number :Java multithreading combat, focus on sharing Java multithreading programming dry goods, pay attention to receive free mass learning materials