Easy to understand Markdown

Source: Internet
Author: User

In the editing of GitHub's readme.md file, the markdown is beginning to come into contact, and now the simple system describes Markdown's syntax.


Markdown is a markup language that can be written using an ordinary text editor, which can make plain text content formatted with HTML-like markup syntax.

Syntax:
1. TitleThe title can show the structure of the article. Insert 1-6 # At the beginning of the line, each adding a # represents a deeper level of content, corresponding to the depth of the title by 1-6 order. H1: # Header 1H2: # # Header 2H3: # # # Header 3H4: # # # Header 4H5: ##### Header 5H6: ###### Header 6
2. Text StyleLink: [Title] (URL)Bold:* *bold**Italic Word:* italics*Strikethrough: ~~text~~Highlight: ==text==paragraph: Empty line between paragraphsline break: Enter two spaces at the end of a lineList:* Add an asterisk to become a new list item. referencing:> reference contentembed code: ' Alert (' Hello world ');Draw horizontal Line (HR):--------
3. PictureTo insert an image into an article using markdown, you need to enter it in the Markdown editor ! Title (image)。
! [Android Training] (URL)
An image upload box is automatically created in the preview panel. You can drag and drop pictures (. png,. gif,. jpg) from your computer desktop to the upload box, or click the Picture upload box to use the standard image upload method.
4. Write CodeAdd inline code you can use a pair of tick-back ' alert ' (' Hello World '). Ghost supports the standard Markdown code and GitHub flavored Markdown (GFM) for inserting code. The standard markdown is based on the indentation code line or 4 space bits:
<header>       <h1>{{title}}</h1></header>
GFM using three "tick-back"
′′′<header>    <h1>{{title}}</h1></header>′′′
5. Embedding links
This was a paragraph that contains a [link to example] (URL)

6. List format
This paragraph contains a list of items.* Item 1* Item 2* Item three
7. Use Markdown to quote text:
This paragraph has a quote > That is pulled out like thisfrom the text my post.
8. Automatic link







Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Easy to understand Markdown

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.