markdown Start Basics skills necessary programmer ------

Blog: https://blog.csdn.net/qq_39576571/article/details/97256521

· First of all: What is the markdown

 markdown is a lightweight markup language, it can be used to write a blog or other documentation, highly efficient document was written, and simple format, easy to get started.

· Then: markdown of several commonly used tag syntax

title

markdown support sub-heading level, total of six, mainly with beginning of the line to add "#" symbol to distinguish the best note add a space between "#" and behind the text. Results are as follows:

#你
##你
###你
####你
#####你
######你

 ​    

paragraph

       It should be noted, wrap each line end of the line need to add two spaces, then Enter. However, I found some markdown editor directly Enter can wrap ...
should add two spaces, this format will not be different editor and collapse.
       If you need a paragraph to highlight highlighted, can be added in the first paragraph> symbol to. Results are as follows:

> markdown的段落语法

  

Fonts

markdown on the font style italic, bold two effects, only need to add several * or _ symbol on OK in the beginning and end of the text. Specific results are as follows: 

*你*            _你_  
**你好**       __你好__  
***你好呀***  ___你好呀___  

  
Which in turn is     inclinedroughinclined rough     effect, and the effect _ * is the same.
And I am more inclined to use the * symbol, because the * symbol can be entered in the English input method, and _ symbols can be entered only when the text input.

Block

When we write articles, you will always need a unit separate partition, but we can counter-quote in the section end to end. Specific results are as follows:

`printf()函数`  
上边内容用首尾各1个反引号 `

```javascript
$(document).ready(function () {   
    alert('RUNOOB');    
});   
```   
上代码块用首尾各3个反引号 `

    $(document).ready(function () {   
    alert('RUNOOB');    
    });
上代码块的每行代码首部空4格

 

link

If give certain text with links to facilitate jumps to a URL, you can use the following format:
[link name] (link address)
or <link address>
results are as follows:

Welcome to my [My Blog](https://blog.csdn.net/qq_39576571)
或者 <https://blog.csdn.net/qq_39576571>

   

image

markdown at the time of writing the text is very efficient, but we want to add pictures Shique too much trouble. The addition of markdown file picture of needs in the form of external links, so we need to be on a network, you can map bed and other forms of memory through pictures.
The markdown file to add the picture format is as follows:       

 ! [Image properties] (link address)
specific effects are as follows:

![图片](https://img-blog.csdnimg.cn/20190725195706744.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM5NTc2NTcx,size_16,color_FFFFFF,t_70) 

   

Dividing line / strikethrough

Dividing line need only type the * or more than three in a row - or _ and the bank can not have anything else. The effect is as follows:
 ***
 - - -
 _ _ _

Strikethrough effect is as follows:
~ ~ ~ ~ I strikethrough

 

List

If you want to show a parallel relationship between the different sections, just add in the first sentence of + or - or * can be. Results are as follows:
+ First
+ second
- third
- fourth
* V
* VI

form

markdown table format is very simple, just use | separated by a different column, and then - separated header and data from other rows can be. Results are as follows:

| 表头1   | 表头2   |
| -----  | -----  |
| unit11 | unit12 |
| unit21 | unit22 |

· Finally, several windows environment relatively easy to use markdown editing software

Typora

Very light one kind markdown tool, you can preview written by real time. At the same time, all over the markdown syntax support, with the increasing use of time, you will become dependent on it, (* ^ _ ^ *) !

MarkdownPad

The software is also very lightweight body mass, is that it can be about page preview you write, it is suitable for small partners started going to the pit markdown, ha ha! However, when the software is installed occasional compatibility issues, while a small part of the markdown syntax can not be achieved, I do not make why. . .

Visual Studio Code

This is a family bucket VS software, it can also be about break preview the effect to achieve, and not just md file, as well as a variety of file formats that can be edited, it is many people installed the necessary software. Of course, this also led to its body mass a little big.

OK, paragraph 3 above windows software is more common md editing software. I recently spent a Typora, so I Amway This is a matter, good-looking interface, functional lightweight, Bang Bang da (* ^ _ ^ *) !

Guess you like

Origin www.cnblogs.com/zhongyuanzhao000/p/11280044.html