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,527评论 0 4
  • 词:许冠杰 曲:张国荣 夜风凛凛独回望旧事前尘 是以往的我充满怒愤 诬告与指责积压着满肚气不愤 对谣言反应甚为着紧...
    Bge阅读 693评论 0 0
  • 早晨,辛辛苦苦写的字,就快写完时,结果一个瞌睡,把所有的字一个不落地删完了,但是我竟然不气! 重头再写,只是没什么...
    流浪痴人阅读 211评论 0 0
  • 本来以为这样的题目,大概是积极向上的,能让人真正的逃离,也许是我太异想天开了,要么就是自己没有对精神院有一...
    Shopgirl阅读 533评论 1 3