美文网首页
markdown语法简记

markdown语法简记

作者: 李云轩 | 来源:发表于2016-05-25 19:09 被阅读0次

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](https://img.haomeiwen.com/i2100272/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

原文地址:我的主页文章

相关文章

  • Markdown语法简记

    本人博客大部分都是其他人博客的摘抄,本篇也不例外。文章目的:保存一些常用的Markdown语法,下次要用的时候可以...

  • Markdown语法简记

    [TOC] 一级标题 a test [TOC] 二级标题 列表 江畔何人初见月[1] 江月何时初照人 有序列表 羌...

  • Markdown 语法简记

    标题大小 一测试 ( #一测试)二测试 (##二测试)三测试 (###三测试)......六测试(#####...

  • Markdown 语法简记

    一. 标题 一级标题 二级标题 三级标题 四级标题 五级标题 六级标题 二. 列表 无序列表 无序列表有序列表有序...

  • markdown语法简记

    Code(font and section tips): Effect(font and section tips...

  • Markdown语法简记

    标题的写法 一级标题 二级标题 三级标题 四级标题 五级标题 六级标题 换行 换行:只需在行末加两个空格键和一个回...

  • Markdown语法

    Markdown基本语法 Markdown基本语法1 Markdown基本语法2(全、有用)

  • Markdown 常用语法简记

    转载请注明出处:https://www.jianshu.com/p/214f18e8b835本文出自Shawpoo...

  • Markdown 入门指南

    Markdown 入门指南 目录Markdown 语法的起源Markdown 语法的种类Markdown trad...

  • MARKDOWN学习之路3

    MARKDOWN学习之路3 markdown介绍markdown语法标题语法列表语法区块引用语法字体语法分割线图片...

网友评论

      本文标题:markdown语法简记

      本文链接:https://www.haomeiwen.com/subject/stmtdttx.html