Markdown Study Notes

Source: Internet
Author: User

Markdown Study Note title

Markdown The title of the use is very simple, directly in front of the text to add the # number represents the title, a # symbol for a title, # # # #二级标题, and so on. Total 6 levels

List

Lists are divided into ordered and unordered lists
Unordered list: Just add in front of the text-or the * sign
There are sequence tables: use 1 directly. 2.3. You can

    • 1
    • 2
    • 3
    1. Title
    2. Content
    3. Summarize
Reference

If you need to reference a small piece of article elsewhere, you can use > to manipulate

Quote a paragraph of text

Body

Links and Pictures

Insert Link:
Baidu
Insert Picture: {Imgcap}{/imgcap}

Bold and italic

Bold: A piece of text contained in two * is bold.
Italic: A piece of text contained in a * is italic, or it is wrapped in italics.
For example: bold italic body

Code box

In-line code: You need to use two ' to wrap up the middle code.
protected void Page_Load () {String str = "ABC"; System.out.println (str);}
Indent Style code block: or 4 spaces in front of each line can also implement code block
public static void main () {
System.out.println ("Hello Markdown");
}
Multi-language code block: code blocks can use three ' to define start and end, language types can also be omitted

 
   
  
  1. public static void main ( string [] Span class= "PLN" > args ) {
  2. system out println "Hello Markdown"
  3. }
/pre>
Split Line

Split line requires only three * numbers,-number and bottom line

Escape character

The escape character in Markdown is \
\ back Slash
' Anti-quote
* Asterisk
_ Underline
{} curly Braces
[] Brackets
() parentheses
# #号
+ Plus
-Minus
. English period
! Exclamation number

Using HTML tags in markdown

If you want to use HTML in markdown, you can write HTML tags directly. But to add a blank line to the front and back lines
In the HTML code, there are two characters to note:< and & if you need to use these two characters, you need to use their prototypes.
< correspondence <
& corresponding amp;

This is the HTML tag

Form

The use of tables in markdown is troublesome, as follows:
| ID | name |
| ------------ | ------------ |
| 1 | Zhang San |
| 2 | John Doe |



From for notes (Wiz)

Markdown Study Notes

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.