[CSDN_Markdown] basic Markdown syntax and markdown syntax
Introduction
This document describes how to use Markdown:
- Use title
- Bold and italic
- Split line
- List
- Reference
A blog can be separated into different sections. Each section has a title. The title Font should be slightly different from the text font. Use a split line to separate two adjacent segments. Important or special instructionsBoldOrItalics.
The list is used to list the content that can be tied together, so it looks clear.
References can be used to pay attention to the instructions, or to write the referenced content, such as what others have said.
The following describes the syntax of these formats.
Use title
For example, the word "Introduction" I wrote at the beginning is the title format. The usage is as follows:
# Introduction
Markdown can use # to indicate the title. One # The content following is a level-1 title. Generally, a level-1 title is the title of an article. Two #, followed by the second-level title, and so on. The title in the body. I generally use the second-level title.
The following is an example:
# Level 1 title # Level 2 Title ### Level 3 title
Bold and italic
Bold the specified text:
** Bold text **
Skew the specified text:
* Text skew *
Bold and skewed the specified text
* ** Bold and oblique text ***
Split line
Split line Syntax:
Use more than three short-term, model, or underline after a blank line
Split lines can be used between two sections.
---***___
The preceding example contains three split lines.
List
There are two types of list: unordered list, marked with some icons without serial numbers; ordered list, marked with numbers.
Unordered list
Unordered list Syntax:
Add a space after '-' and the content of the list item.
For example:
-Peanut-banana-Pineapple
You can also use a multi-level unordered list. You only need to add a space before the low-level list symbol.
-Fruit-banana-pineapple-clothes-coat-pants
Ordered list
Ordered list Syntax:
Add a space after the number and "." And then the content of the list item.
For example:
1. open the refrigerator door 2. Put the elephant in 3. Bring the refrigerator door
You can also use the classification method, which is similar to the unordered list: Add a space before the low-level list.
1. open the refrigerator door 2. Put the elephant in 1. Give the elephant some water 2. Put the elephant's quilt 3. Bring the refrigerator door
Reference
Referenced Syntax:
After the ">" symbol, add a space and reference content.
For example:
> This is the referenced text !!!
Summary
This article describes the basic syntax for writing a blog using Markdown. You only need to remember a few symbols to write a beautiful blog.
PS: weaknesses. Please leave a message ~