Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand the syntax of Markdown

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

How to understand the grammar of Markdown, I believe that many inexperienced people are at a loss about it. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

Basic syntax of Markdown

Markdown is a very good and popular writing grammar, plain text, "easy to read and write", usually only a few minutes to learn the basic usage of Markdown.

Block element paragraphs and line breaks

If you want to rely on Markdown to insert tags, press more than two spaces at the insertion and enter.

General caption # first level title # # second level title # level 3 title # level 4 title # level 5 title # level 6 title Special Writing method This is an H1=This is an H 2-

Correspond to the first-level headings in HTML, and so on.

Block reference

This is a block reference.

List unordered list (there are three ways to write) unordered list (commonly used)

Red

Green

Blue

Unordered list (+)

Red

Green

Blue

Unordered list (-)

Red

Green

Blue

Ordered list

Bird

McHale

Parish

Code block. This is the code block content division line.

-composed of more than three spaces:

* ``is composed of three or more spaces: * *

Section element links normal links

This is a link.

Quick link

You only need to wrap the URL in angle brackets at the beginning and end, such as

Another syntax for inserting links

This is a link, and then, in any line of the document (usually at the end of the document), define the link, such as:

Mailbox link

This is a link to a mailbox.

Emphasize thickening

Mark it with two asterisks to indicate bold

Italic

An asterisk indicating italics

Delete Lin

This means deletion.

Glide line

+ + two plus signs are marked to indicate the glide line + +

Code

Code

Picture

The syntax of inserting a picture is very similar to inserting a link.

Common illustration syntax

Another illustration syntax

Markdown Advanced Grammar form name gender Age Zhang San male 30 Li four male 31 Wang five female 31 task list (some editors do not support, please use with caution) unfinished

[] Task 1

[] Task 2

Done

[X] Task 3

[X] Task 4

After reading the above, have you mastered how to understand the grammar of Markdown? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report