Markdown Basic Syntax

Source: Internet
Author: User

1. Title

# This is the title 1

# # This is the title 2

##### This is heading 6

2. Ordered list


Increase at the beginning of the line 1., 2., 3., i.e. numbers and periods


3. Unordered list


Add * or-and spaces at the beginning of the line


* Unordered List

* Unordered List


4. Insert Picture


You can paste the picture directly, or drag the picture file to the cursor


! [] (Http://i.imgur.com/FYr0afZ.png)


5. Inserting links


For example: [For Notes] (www.wiz.cn), note to use English symbols


6. Bold, italic, strikethrough


Bold: Add * * Bold before and after text * * (note that there is no space between the symbol and the text)


Italic: Add * italic * before and after the text


Strikethrough: Add ~ ~ Delete line before and after text ~ ~


Bold + Italic: * * * bold + Italic * * *


7. References


Add ">" in front of text

Click on the effect after saving:

> If you can't express your ideas succinctly, that means you don't know them well enough. --Albert Einstein


8. Tables (some markdown versions cannot parse)


| To know notes | update | version |

|------------|-----------|--------|

| wiznote| markdown| Latest|


9. Code


Add three anti-single quotes before and after the code: ' '


' void main (void) {

printf ("This is Test");

}```


10. Font, font size, color


<font face= "Blackbody" > I am a bold character </font>


<font face= "Microsoft ya Black" > I am Microsoft ya Black </font>


<font face= "Stcaiyun" > I am Chinese Choi Wan </font>


<font color= #0099ff size=7 face= "blackbody" > Color 0099ff Font size 7 bold </font>


<font color= #00ffff size=72> Color 00ffff</font>


<font color=gray size=72> Color Grey </font>


11. Background color


<TABLE><TR><TD bgcolor= #FF4500 > The background color here is: orangered, hex color value: #FF4500, RGB (255, 0) </td>< /tr></table>

12. Catalogue


In any place where you want to display the Markdown notes directory, add [TOC]


13.Mathjax formula


You can create inline formulas, for example:

$\gamma (n) = (n-1)!\quad\forall n\in\mathbb n$

or block-level formulas,

$$x = \dfrac{-b \pm \sqrt{b^2-4ac}}{2a} $$


14. Flowchart


"Flow

St=>start:start:>http://www.google.com[blank]

E=>end:>http://www.google.com

Op1=>operation:my operation

Sub1=>subroutine:my subroutine

Cond=>condition:yes

or no?:>http://www.google.com

Io=>inputoutput:catch something ...

St->op1->cond

Cond (yes)->io->e

Cond (NO)->sub1 (right)->OP1

```

15. Timing Diagram


"' Sequence

Alice->bob:hello Bob, how is it?

Note right of Bob:bob thinks

Bob-->alice:i am Good thanks!

```

16. Manual line break


Me <br>

Actually <br>

is a <br>

Poems......


Upstairs

This paragraph

Nice talk!


17.setext-style's header style definition


This is the MAIN TITLE

======================


The subtitle

--------------------



18.pandoc software can be markdown to other software such as HTTP PDF conversion


This article from "Tech record" blog, declined reprint!

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