Markdown's most concise syntax

Source: Internet
Author: User
We recommend a lite version of markdown software, Smark
Basic symbols
  • *,-, And + all have the same effect. These three symbols are calledMarkdown symbol
  • A blank line indicates a separate paragraph.
  • 'Indicates the Inline code. tab is used to mark the code segment, which corresponds to the HTML code and PRE Tag respectively.
Line feed
  • A single paragraph (<p>) uses a blank line
  • Two consecutive spaces are converted into one <br>
  • Three symbols in a row, and then empty lines, indicating the hr horizontal line
Title
  • Generate H1 -- H6, and Add 1-6 characters before the text #.
  • The bold text is written by two symbols at the left and right of the text.
Reference
  • Add ">" and a space in the first line to indicate code reference and nesting.
List

This is the main expression of the markdown file, theme-based

  • Use *, +,-and a space.
  • Nesting is supported.
  • The ordered list is represented by numbers, English vertices, and spaces.
  • The list content is very long and you do not need to manually enter a line break. CSS controls the width of a paragraph, which is automatically scaled.
Link
  • Directly write [anchor text] (URL "optional title ")
  • The reference first defines [ref_name]: URL, and then uses [anchor text] [ref_name] Where the URL needs to be written. Generally, ref_name is represented by numbers, which is professional.
  • Abbreviated URL: Wrap the URL with Angle brackets
    The generated URL anchor text is the URL itself.
Insert Image
  • One line :! [Alt_text] (URL "optional title ")
  • Reference Notation :! [Alt_text] [ID], pre-defined [ID]: URL "optional title"
  • Use the label to specify the image size.
Special symbols
  • Escape with \ to indicate the markdown symbol in the text
  • HTML tags can be directly used in text, but note that blank lines are added before and after
  • A symbol is added before and after the text to indicate italic text.

Markdown's most concise 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.