Markdown trial and syntax

Source: Internet
Author: User

Markdown is a text-to-HTML Conversion Tool used on the Web. It can generate structured HTML documents in simple, easy-to-read and easy-to-write text formats.

Yesterday I wanted to find a simple and easy-to-use note-taking tool. I checked it and found that it looked good, and Samsung's Evernote was not used much before, however, one of markdown's editing tools, Mark feixiang, provides support for Evernote, so I tried to use it. It's really good. It's enough to simply edit the Notes document.


Because I want to try the function anyway, I just found a lot of markdown editors and tried them one by one:

1. Mahua online markdown Editor-click to open a new window

The markdown editor is easy to use. This means that when you click Export, you do not know where to export it. (It may be that the company's network is not powerful! (Too many □') Too many others)

2. csdn recommends an editor, which is quite good. Click to open a new window.

3. Mark feixiang-click to open a new window

The highlight is that the interface is very beautiful, and the translucent toolbar on the top is very nice. It is very convenient to manage files or anything, as well as a syntax prompt, and functions such as adding images and text formats.

It can also be directly synchronized with Evernote, which is a small benefit for everuser, and there is no need to press words on the phone.

The only unpleasant thing is that you may not find the export function. (In contrast, stackedit does well. Https://stackedit.io /)


The following is what I wrote during my own trial. I used the basic functions and saved them as my first note.

P.s. the syntax of the list part is very messy, and it is all about empty four cells. In fact, sometimes there is only one space, and sometimes there are two spaces, which can be mined by yourself.

The saved file is in. md format.


! [This is a logo] (http://img1.2345.com/duoteimg/qqTxImg/2012/04/09/13336847362941.jpg)



# Markdown trial and syntax


For the logo syntax, see the first line.


### ** Disconnected **


You need to press enter to enter two spaces at the end of the line.
You need to press the carriage return key twice.




### ** Title **


# Level 1 title = h1
# Level 2 Title = h2
### Level 3 Title = h3
#### Level 4 title = h4
##### Level 5 Title = H5
###### Level 6 Title = h6
The title is automatically wrapped.




### ** Emphasis **


* Italic * _ italic _


** Bold ** _ bold __


* ** Bold italics ** ___ bold italics ___




### ** Code **


Some 'code' can be marked with reverse quotation marks (the one below the ESC key)


First line of code
Line 2 code
Line 3
Indent with the tab key or four spaces




The effect of a space. The line feed relationship between the Code and the text line must be ensured.


Effect of four lines of Space indentation

Line breaks between code lines do not affect code continuity.

### ** List **


* An item in the unordered (unnumbered) List
* A subitem must be indented with one tab or more than one space.
* Two more indents
* Scale down one more
* Another item in the unordered list
* Indent one
* The two tabs become code...




1. An item in the ordered (sorted, numbered) List
-A subitem with one space indented from the start point
2. Another item in the ordered list


### ** Reference **


You only need to add right angle brackets ('>') at the beginning of the referenced content section for reference ')


> The content of this entire segment is used as an HTML reference element.
The referenced element automatically optimizes the layout (reflowable, backflow possible ).
You can include the referenced content at will, and all the referenced content will be parsed into a single reference element.


### ** Nesting **
> This is a reference.
> This Is A nested reference.
>
> Outer references. A visually empty line is required to indicate the end Of the nested inner layer. The '>' of the previous line is optional, but there must be an empty line.


### ** Link **
Direct Link
[This is a logo] (http://img1.2345.com/duoteimg/qqTxImg/2012/04/09/13336847362941.jpg)




Footer Link
[This is a link] [LINK label 1]


[LINK label 1]: http://img1.2345.com/duoteimg/qqTxImg/2012/04/09/13336847362941.jpg "logo picture"


### ** Horizontal split line **


***
***
****


-------
---




### ** Embedded HTML Tag **
<Font style = 'font-size: 10.5pt; font-family:; 'color = 'red'> embedded HTML text </font>


### ** Table **
Markdown currently does not support tables, but can be implemented using embedded HTML code.
<Table border = '1'>
<Tr> <TD> 1 </TD> <TD> 2 </TD> <TD> 3 </TD> <TD> 4 </TD> </tr>
<Tr> <TD rowspan = '3'> 5 </TD> </tr>
<Tr> <TD> 6 </TD> <TD> 7 </TD> <TD> 8 </TD> </tr>
<Tr> <TD colspan = 3> 9 </TD> </tr>

</Table>



Or the following format can also be a table
Head1 | head2 | head3 | head4
--- | ---
11 | 12 | 13 | 14
21 | 22 | 23 | 24
31 | 32 | 33 | 34

Markdown trial and syntax

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.