Markdown Simple Syntax

Source: Internet
Author: User

Meet Markdown
    • A lightweight markup language, easy to read and write;

    • Easily convert the text you enter into HTML for easy publishing to the web;

    • Make you focus on writing rather than typesetting, what you see is what you get;

    • Compatible with HTML, Markdown's format syntax covers only the range that plain text can cover, and if some features are Markdown, you can write them directly in HTML, because Markdown two formats are understandable.

Common Markdown Editor

Just introduced a few typical editors, more useful editor below the link can be viewed

    • Windows:markdownpad

    • Mac:mou

    • Linux:retext

    • Web Online version: Small book maker editor

Markdown Help Documentation

> compared to Markdown's official documents, personally feel Markdown Editor (such as my own small book maker editor) comes with the grammar manual, the explanation of grammar is more concise and clear.

    • Markdown designer John Gruber wrote the syntax

    • Markdown Syntax Instructions (Simplified Chinese version)

    • A simple Mrkdown guide

    • GitHub Flavored Markdown

Introduction to Simple syntax title

# level headings
# # Two level headings
# # # Three titles
# # # four headings
##### Level five Title
###### level six title

Heading level two heading level four heading five level heading six level heading Italic Body

* Italic Body *
Italic body

Bold Body

* * Bold * *
Bold body

list with sequence
    1. List 1

    2. List 2

    3. List 3

unordered list

* List 1
* List 2
* List 3
Or
-List 1
-List 2
-List 3

    • List 1

    • List 2

    • List 3

References

> Quote Text

Reference text

Insert Link

[Baidu] (www.baidu.com)

Baidu

Insert Picture

! [The IT Crowd] (./images/it_crowd.png)

Table

Markdown tables are a little cumbersome, and complex forms can be drawn using other watchmaking software, and then stored in a picture format. Notice whether the colon: defines left-aligned, center-aligned, or right-aligned; For more information on the usage of the table, refer to GitHub flavored Markdown

| left-aligned | Center Aligned | Right Aligned |
| :------------ |:---------------:| -----:|
| Col 3 is | Some wordy text | $1600 |
| Col 2 is | Centered | $ |
| Zebra Stripes | Is Neat | $ |

Right
left-aligned Center AlignedAligned
Col 3 is Some wordy text $1600
Col 2 is Centered $
Zebra Stripes Is neat $
Split Line

***
****
* * * *
---

Code Box

The beginning of the line is empty 4 spaces, indicating the program code:

def hello ()
Print ("Hello World")

hello()    print("hello world")   

The embedded code is wrapped up in a pair of ' or three ', which means:

var x = "hello world"

 name  <-C ( ,  "Mei" , ); age  <-C (21 , 22 , 23 ); data . Frame (name , age ) ;   
More use
    • You can use backslashes \ To insert symbols that have other meanings in the syntax, such as anti-quote ', asterisk *, and so on;

    • How indentation is produced in a paragraph definition:
      Half-square large blank with &ensp; or & #8194;
      The whole square large blank &emsp; or & #8195;
      Constant line of blank lattice &nbsp; or & #160;

    • Binding the Markdown editor and Evernote is really good for me.

    • Forgetting the Markdown grammar for a moment is OK, the editor-shaped menu bar is very useful

    • More text features, such as modifying fonts and colors, require some CSS knowledge and take the time to see CSS Tutorials

Read more
    • Three reasons why we need to learn Markdown

    • Handy Markdown Editor at a Glance

    • A markdown editor for Evernote, an icon

Markdown Simple 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.