Markdown Syntax Guide

Markdown Basic Syntax

The commonly used Markdown syntax is as follows. Using Markdown in Typora makes problem-solving notes clean and organized.

Font Color and Size

<font face="SimHei">I am bold text</font>
<font face="Microsoft YaHei">I is Microsoft YaHei</font>
<font face="STCAIYUN">I am Huawen Caiyun</font>
<font color=red>I am red</font>
<font color=#008000>I am green</font>
<font color=Blue>I am blue</font>
<font size=5>I am size 5</font>
<font face="SimHei" color=green size=5>I am SimHei, green, size 5</font>

Effect:

I am bold text I is Microsfot YaHei I am Huawen Caiyun I am red I am green I am blue I am size 5 I am SimHei, green, size 5

Headings

# Level 1 Heading ## Level 2 Heading ### Level 3 Heading #### Level 4 Heading ##### Level 5 Heading

Effect:

Level 1 Heading

Level 2 Heading

Level 3 Heading

Level 4 Heading

Level 5 Heading

Links and Images

Link [Link Title](https://example.com) Effect: Link Title

Image ![](https://pic.cnblogs.com/avatar/2333214/20210317104611.png) Effect:

Blockquotes

Single-line Quote > Three parts turned into sword energy, seven parts brewed into moonlight, and with a flick of the mouth, half of the Tang dynasty is spat out. > Even if a strong wind rises, life never gives up. > After playing the swing, lazily straightening the slender hands. The dew is thick, the flowers are thin, and a thin sweat wets the light clothes. > Seeing a guest arrive, she slips in her stockings and the golden hairpin falls. And shyly walks away, leaning at the door, looking back, she smells the green plum.

Effect:

Three parts turned into sword energy, seven parts brewed into moonlight, and with a flick of the mouth, half of the Tang dynasty is spat out. Even if a strong wind rises, life never gives up. After playing the swing, lazily straightening the slender hands. The dew is thick, the flowers are thin, and a thin sweat wets the light clothes. Seeing a guest arrive, she slips in her stockings and the golden hairpin falls. And shyly walks away, leaning at the door, looking back, she smells the green plum.

Multi-line Quote > The sky joins the clouds and mist, dawn fog, the Milky Way wants to turn, and a thousand sails dance. As if the soul returns to the emperor's place. Hearing the heavenly language, he kindly asks me where I am going. I report the road is long, sighing the sunset, learning poetry is in vain with surprising lines. Ninety thousand miles, the roc is rising. The wind does not stop, the peng boat takes me to the three mountains.

Effect:

The sky joins the clouds and mist, dawn fog, the Milky Way wants to turn, and a thousand sails dance. As if the soul returns to the emperor's place. Hearing the heavenly language, he kindly asks me where I am going. I report the road is long, sighing the sunset, learning poetry is in vain with surprising lines. Ninety thousand miles, the roc is rising. The wind does not stop, the peng boat takes me to the three mountains.

Code Insertion

Inline Code hello world

Effect: hello world

Code Block

First line of code
Second line of code
Third line of code

Effect:

First line of code
Second line of code
Third line of code

Embedding HTML Pages in a Web Page

Embedding Baidu Map

<iframe src="insert generated HTML address here to create the control (requires applying for Baidu Map AK, not shown here)" width="600" height="300" frameborder="0" scrolling="no"></iframe>

Details refer to: https://blog.csdn.net/qq_27512271/article/details/82994240 https://blog.csdn.net/ZGHXH/article/details/79952455

Embedding Tencent Video

<iframe frameborder="0" width="600" height="300" src="https://v.qq.com/txp/iframe/player.html?vid=g0024gz9gnl" allowFullScreen="true"></iframe>

Effect:

Embedding Bilibili Video

<iframe src="//player.bilibili.com/player.html?aid=35094580&cid=61487124&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="600" height="300"> </iframe>

Effect:

Tags: Markdown Syntax guide

Posted on Sat, 09 May 2026 11:20:37 +0000 by padma