markdown語法簡記

Code(font and section tips):

Double "space" and an "Enter"  
represents a newline.  
   
One "space" and an "Enter" 
will not end a line.

*I'm gonna be italic form*  
**I'm gonna be in bold**

Effect(font and section tips):

Double "space" and an "Enter"
represents a newline.

One "space" and an "Enter" will not end a line.

I'm gonna be italic form
I'm gonna be in bold


Code(title):

# Headline 
## Second-level heading
### Third-level heading 
headline can also be presented in this way  
===
subheadings can be presented in this way  
---

Effect(title):

Headline

Second-level heading

Third-level heading

headline can also be presented in this way

subheadings can be presented in this way

Code(List):

- Firstly
- Secondly
- Thirdly  


1. Firstly
2. Secondly
3. Thirdly


- Firstly
 + The first point is 
 + The next is
 + Final point is
- Secondly
- Thirdly

Effect(List):

  • Firstly
  • Secondly
  • Thirdly
  1. Firstly
  2. Secondly
  3. Thirdly
  • Firstly
  • The first point is
  • The next is
  • Final point is
  • Secondly
  • Thirdly

Code(Code):

There should be four spaces in front of a new line for code.  

C++:   

    #include <iostream>
    int main()
    {
        std::cout << "Hello, world!" << std::endl;
        return 0;
    }  
  
java:  

    public class HelloWorld 
    {
        public static void main(String args[]) 
        {
            System.out.println("Hello, World!");
        }
    }


python:  

    print 'Hello,World!'  

Effect(Code):

There should be four spaces in front of a new line for code.

C++:

#include <iostream>  
int main()  
{  
    std::cout << "Hello, world!" << std::endl;  
    return 0;  
}    

java:

public class HelloWorld 
{
    public static void main(String args[]) 
    {
        System.out.println("Hello, World!");
    }
}

python:

print 'Hello,World!'  

Code(Image and URL):

hyperlink can be added in this way: [我的github](https://github.com/monkeydchopper)  
insert an image: ![tonytonychopper](http://upload-images.jianshu.io/upload_images/2100272-a11c8bb972955125.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)  
圖侵刪  

Effect(Image and URL):

hyperlink can be added in this way: 我的github

insert an image:

tonytonychopper

圖侵刪


references:
溫謙的專欄文章 http://www.ituring.com.cn/article/23

原文地址:我的主頁文章

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容

  • 經常在使用Python的時候需要安裝各種模塊,而pip是很強大的模塊安裝工具,但是由于國外官方pypi經常被墻,導...
    放風箏的小小馬閱讀 12,499評論 0 4
  • 詞:許冠杰 曲:張國榮 夜風凜凜獨回望舊事前塵 是以往的我充滿怒憤 誣告與指責積壓著滿肚氣不憤 對謠言反應甚為著緊...
    Bge閱讀 682評論 0 0
  • 早晨,辛辛苦苦寫的字,就快寫完時,結果一個瞌睡,把所有的字一個不落地刪完了,但是我竟然不氣! 重頭再寫,只是沒什么...
    流浪癡人閱讀 210評論 0 0
  • 本來以為這樣的題目,大概是積極向上的,能讓人真正的逃離,也許是我太異想天開了,要么就是自己沒有對精神院有一...
    Shopgirl閱讀 522評論 1 3