Markdown: Blank lines and spaces



1. Insert a space in Markdown

You will definitely encounter this situation: when editing Markdown, insert a space in the following paragraph, what should I do?

我们的中间有一个空格。

The following method may help you.

1.1 No-break space, the full name is: no-break space

  

example:

我们的中间有一个不换行 空格。

display effect:

  • There is a non-newline space between us.

 

1.2 Half-width space, the full name is: en space

 

example:

我们中间有一个半角 空格。

display effect:

  • There is a half-width space between us.

 

1.3 Full-width space, the full name is: em space

  

example:

我们的中间有一个全角 空格。

display effect:

  • There is a full-width space between us.

1.4 Small spaces, the full name is thin space

  

example:

我们的中间有一个细小 空格。

display effect:

  • There is a small space between us.

2. Insert a blank line in Markdown

2.1 The blank line mark is the same as the non-breaking space mark, just put a line alone

 

example:

我们的中间有一个空行。
 
好像是的。

display effect:

  • There is a blank line between us.
     
    seems like it.

 

2.2 Use HTML tags

<br />

example:

我们的中间有一个空行。<br />
好像是的。

display effect:

  • There is a blank line between us.

    seems like it.

3. Reference articles

1. The 6 types of space marks that can be used in markdown editor
2. How to insert spaces in Markdown documents?
3. Add blank lines and spaces in Markdown editor
4. How to add blank lines in markdown editor? How to wrap? Space
5. HTML <br> tag


Guess you like

Origin blog.csdn.net/PursueLuo/article/details/95678470