markdown 使用方法

我是一级标题

Mac中最好用的markdown编辑器


Mou icon
Mou icon

我是二级标题

Mou, the missing Markdown editor for web developers.

这样的是粗体
或者可以选中cmd+b
这样的是斜体
或者可以选中cmd+i

我是三级标题

我是四级标题

strong or strong ( Cmd + B )

emphasize or emphasize ( Cmd + I )

Sometimes I want a lot of text to be bold.
Like, seriously, a LOT of text

需要一大段可以编辑的粗体文本,像这样

我是五级标题

Right angle brackets > are used for block quotes.

Links and Email

An email example@example.com link.

我是链接 我是链接的标题

Simple inline link http://chenluois.com, another inline link Smaller, one more inline link with title Resize.

A reference style link. Input id, then anywhere in the doc, define the link with corresponding id:

Titles ( or called tool tips ) in the links are optional.

Images

An inline image
Smaller icon
Smaller icon

, title is optional.

A
Resize icon
Resize icon

reference style image.

Inline code and Block code

Inline code are surround by backtick key. To create a block code:我是高亮

一个tab或者4个空格就可以了



Indent each line by at least 1 tab, or 4 spaces.
var Mou = exactlyTheAppIwant; 

Ordered Lists

Ordered lists are created using "1." + Space:

  1. Ordered list item
  2. Ordered list item
  3. Ordered list item

中断

  1. 我是有序的列表
  2. 需要数字加空格

Unordered Lists

Unordered list are created using "*" + Space:

  • Unordered list item
  • Unordered list item
  • Unordered list item
  • 我是无序的列表项

Or using "-" + Space:

  • Unordered list item
  • Unordered list item
  • Unordered list item

Hard Linebreak

End a line with two or more spaces will create a hard linebreak, called <br /> in HTML. ( Control + Return )
Above line ended with 2 spaces.

尝试着换行我是第二行

Horizontal Rules

Three or more asterisks or dashes:








Headers

Setext-style:

This is H1

我是一级标题

This is H2

atx-style:

This is H1

This is H2

This is H3

This is H4

This is H5
This is H6

Extra Syntax

Footnotes

Footnotes work mostly like reference-style links. A footnote is made of two things: a marker in the text that will become a superscript number; a footnote definition that will be placed in a list of footnotes at the end of the document. A footnote looks like this:

That's some text with a footnote.[1]

这是第二条标注[2]

Strikethrough

Wrap with 2 tilde characters:

Strikethrough

删掉你

Fenced Code Blocks

Start with a line containing 3 or more backticks, and ends with the first line with the same number of backticks:

Fenced code blocks are like Stardard Markdown’s regular code
blocks, except that they’re not indented and instead rely on
a start and end fence lines to delimit the code block.
zahgndexiangdaima #include <iostream>
he zhe ge bu yiyang 
yekeyi 
#include<iostream>
this is code blocks

Tables

A simple table looks like this:

First Header Second Header Third Header
Content Cell Content Cell Content Cell
Content Cell Content Cell Content Cell

If you wish, you can add a leading and tailing pipe to each line of the table:

First Header Second Header Third Header
Content Cell Content Cell Content Cell
Content Cell Content Cell Content Cell

Specify alignment for each column by adding colons to separator lines:

First Header Second Header Third Header
Left Center Right
Left Center Right
我是第一行 我是第二行 我是第三列
左对齐 居中对齐 右对齐

  1. And that's the footnote.

  2. 这就是第二条标注咯

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 13,564评论 5 6
  • 加权图是一种为每条边关联一个权值或是成本的图模型。而最小生成树与之密切相关。 定义 图的生成树是它的一棵含有其所有...
    sleepyjoker阅读 1,173评论 0 1
  • 突然想写写日记,反正在这里谁都不知道我是谁。 我的性格就是这样。希望别人不知道我,然而又堂而皇之地干这干那。 昨天...
    iyjyjyjyj阅读 223评论 1 1
  • 后者不见前者来, 前者难言后者留。 空虚乌有心不焉, 磨炎甲缝绪烦情。 咬牙切齿日甚年, 暮然回首发白边。
    儒美阅读 258评论 0 1