What is Markdown?
Markdown is a lightweight markup language. It can be written with any text editor, and the notation is easy to remember and inexpensive to learn.
Markdown commonly used tags:
1) Code block labels, use backslashes ` to wrap text. The effect is as follows:
Hello,Markdown。代码块标签。
2) Refer to the label, start with the right arrow, format: >内容
, the effect is as follows:
Hello, Markdown. Quote label.
3) Bold text: Use two * signs to wrap the text. Format: **内容**
, the effect is as follows:
Hello, MarkDown. Bold
4) Italic text: Use an asterisk to wrap the text. Format: *内容*
, the effect is as follows:
Hello, MarkDown. italic
5) Underline in the text: Use two ~ signs to wrap the text. Format: ~~内容~~
, the effect is as follows:
Hello, MarkDown. midline display
6) Contents are marked with corner labels. Format: a total of two lines, 1. Initiate remarks: 内容[^数字]
, 2. Remark details: [^数字]: 详细备注内容
, the effect is as follows:
Markdown is great for writing. Click the remarks icon to view detailed remarks at the footer of the page. 1
7) Text in H1 font size. Format: # 内容...
, the effect is as follows:
Use a # font size
8) Text in H2 font size. Format: ## 内容...
, the effect is as follows:
Use two # font sizes
9) Text in H3 font size. Format: ### 内容...
, the effect is as follows:
Use three # font sizes
10) Text in H4 font size. Format: #### 内容...
, the effect is as follows:
Use a font size with four #s
11) Text in H5 font size. Format: ##### 内容...
, the effect is as follows:
Use a font size of five #s
12) Text in H6 font size. Format: ####### 内容...
, the effect is as follows:
Use a font size of six #s
13) Entry effect, start with * sign and space. Format: * 内容条目
, the effect is as follows:
Hello、Markdown!
Hello、World!
Good Morning!
14) Text hyperlinks. Format: [文字](超链接)
, the effect is as follows:
Text Demonstration Hyperlink Effect: Homepage
15) Insert pictures and Gif animations. Format: ![文字](图片超链接)
, the effect is as follows:
Insert picture effect:
Insert Gif animation effect:
16) Insert code format (note: limited applicability). Format: `{% highlight html %} code content {% endhighlight %}, the effect is as follows:
{% highlight html %}
{% endhighlight %}
17) Insert a horizontal line. Format: ********
Alternatively --------
, the effect is as follows:
These are the commonly used estimates (of course, about creating tables, etc.). After learning these symbols, you can easily use Markdown to write a document.
Article from {{ site.url }}
Markdown can increase the fun of writing and is suitable for writers, editors and other workers. ↩