Philosophy

Markdown is intended to be as easy-to-read and easy-to-write as is feasible.
Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as plain text, without looking like it's been marked up with tags or formatting instructions.
Markdown's syntax is intended for one purpose: to be used as a format for writing for the web.

Notice

You can use CMD + 4 or CMD + R to preview the result.

Headers

Example:

# This is an `<h1>` tag
## This is an `<h2>` tag
###### This is an `<h6>` tag

Result:

This is an <h1> tag

This is an <h2> tag

This is an <h6> tag

Emphasis

Example:

*This text will be italic*
_This will also be italic_ **This text will be bold**
__This will also be bold__ *You **can** combine them*

Shortcuts: CMD + UCMD + ICMD + B
Result:

This text will be italic
This will also be italic

This text will be bold
This will also be bold

*You can combine them*

Newlines

End a line with two or more spaces + enter.
Just typing enter to newline,please set:Preferences - Themes - Translate newlines to <br> tags enable ( default is enable )

Lists

Unordered

Example:

* Item 1 unordered list `* + SPACE`
* Item 2
* Item 2a unordered list `TAB + * + SPACE`
* Item 2b

Shortcuts: Option + U
Result:

  • Item 1 unordered list * + SPACE
  • Item 2
  • Item 2a unordered list TAB + * + SPACE
  • Item 2b

Ordered

Example:

1. Item 1 ordered list `Number + . + SPACE`
2. Item 2
3. Item 3
1. Item 3a ordered list `TAB + Number + . + SPACE`
2. Item 3b

Result:

  1. Item 1 ordered list Number + . + SPACE
  2. Item 2
  3. Item 3
  4. Item 3a ordered list TAB + Number + . + SPACE
  5. Item 3b

Task lists

Example:

- [ ] task one not finish `- + SPACE + [ ]`
- [x] task two finished `- + SPACE + [x]`

Result:

  • task one not finish - + SPACE + [ ]
  • task two finished - + SPACE + [x]

Images

Example:

![GitHub set up](https://help.github.com/assets/images/site/set-up-git.gif)
Format: ![Alt Text](url)

Shortcuts: Control + Shift + I
The Library's document support drag & drop or CMD + V paste or CMD + Option + I to insert the picture.
Result:

In MWeb, you can use -w + Number to control image width, for example, set the image width 140px:

Links

Example:

email <example@example.com>
[GitHub](http://github.com)
autolink <http://www.github.com/>

Shortcuts: Control + Shift + L
The Library's document support drag & drop or CMD + Option + I to insert attachment.
Result:

An email example@example.com link.
GitHub
Automatic linking for URLs
Any URL (like http://www.github.com/) will be automatically converted into a clickable link.

Blockquotes

Example:

As Kanye West said:
> We're living the future so
> the present is our past.

Shortcuts: CMD + Shift + B
Result:

As Kanye West said:

We're living the future so
the present is our past.

Inline code

Example:

I think you should use an
`<addr>` `code` element here instead.

Shortcuts: CMD + K
Result:

I think you should use an
<addr> code element here instead.

Multi-line code

Example:

```js
function fancyAlert(arg) {
if(arg) {
$.facebox({div:'#foo'})
} }
```

Shortcuts: CMD + Shift + K
Result:

function fancyAlert(arg) {
if(arg) {
$.facebox({div:'#foo'})
} }

Sequence and Flow chart

Example:

```sequence
Andrew->China: Says Hello
Note right of China: China thinks about it
China-->Andrew: How are you?
Andrew->>China: I am good thanks!
``` ```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
```

Result: ( Please enable Preferences - Themes - Enable sequence & flow chart, default is enable. )

Andrew->China: Says Hello
Note right of China: China thinks about it
China-->Andrew: How are you?
Andrew->>China: I am good thanks!
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

More info: http://bramp.github.io/js-sequence-diagrams/, http://adrai.github.io/flowchart.js/

Tables

Example:

First Header
Second Header
Content from cell 1 Content from cell 2
Content in the first column Content in the second column

You can create tables by assembling a list of words and dividing them with hyphens - (for the first row), and then separating each column with a pipe |:

Result:

First Header Second Header
Content from cell 1 Content from cell 2
Content in the first column Content in the second column

Strikethrough

Example:

(like this)

Result:

Any word wrapped with two tildes (like this) will appear crossed out.

Horizontal Rules

Following lines will produce a horizontal rule:

***

*****

- - -

Result:




LaTex

Use double US dollars sign pair for Block level Math formula, and one US dollar sign pair for Inline Level.

For example this is a Block level $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$ formula, and this is an inline Level $x = {-b \pm \sqrt{b^2-4ac} \over 2a}$ formula.

\\[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} =
1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}}
{1+\frac{e^{-8\pi}} {1+\ldots} } } } \\]

Result:

For example this is a Block level \[x = {-b \pm \sqrt{b^2-4ac} \over 2a}\] formula, and this is an inline Level \(x = {-b \pm \sqrt{b^2-4ac} \over 2a}\) formula.

\[ \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} =
1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}}
{1+\frac{e^{-8\pi}} {1+\ldots} } } } \]

Footnote

Example:

This is a footnote:[^sample_footnote]

Result:

This is a footnote:1

Comment And Read More..


Actions->Insert Read More Comment OR CMD + .

TOC

Example:

[TOC]

Result:

  • This is an <h1> tag

    1. footnote text detail... 

    Markdown syntax guide and writing on MWeb的更多相关文章

    1. 【445】Markdown Syntax

      ref: Markdown基本语法 ref: Markdown Guide ref: Markdown Cheatsheet ref: Markdown Tutorial Lists Basic Sy ...

    2. Markdown: Syntax Text

      Markdown: Syntax Text https://daringfireball.net/projects/markdown/syntax.text Markdown: Syntax ==== ...

    3. Markdown Syntax Images

      Markdown Syntax Images Admittedly, it's fairly difficult to devise a "natural" syntax for ...

    4. Write Markdown Syntax Online Document with Sphinx and Pandoc

      There is no doubt that we have to write doc while we are developing software. But How do you write d ...

    5. markdown syntax

      Markdown 语法 转载自https://zh.mweb.im/markdown.html 首先应该了解的 每一个 Markdwon 使用者都应该了解的,是 Markdown 最基本的版本,也就是 ...

    6. mweb test

      目录 Markdown syntax guide and writing on MWeb Philosophy Notice Headers This is an <h1> tag Thi ...

    7. GitHub 风格的 Markdown 语法

      GitHub 风格的 Markdown 语法 [译] GitHub 风格的 Markdown 语法 Original: GitHub Flavored Markdown - GitHub Help T ...

    8. 【专业的 Markdown 编辑写作软件】MWeb for Mac基本使用教程

      MWeb for Mac是一款专业的 Markdown 编辑写作软件,可以生成MarkDown编辑器和静态博客,在记日记的时候,你可以使用插入图片的功能,使用MWeb软件你可以拖拽或直接粘贴即可插入图 ...

    9. Mastering Markdown

      What is markdown? Markdown is a lightweight and easy-to-use syntax for styling all forms writing on ...

    随机推荐

    1. QT总结第3篇:如何在QT中添加.lib,.dll还有.h文件

      因为我在工作的过程中,使用的是第三方提供的库,但是如何将这些库添加到QT的工程中,是个问题,让我恼火了很久,怎么弄都是错的. 下面,我会对这个问题,进行叙述,希望其他人第一次遇到这种问题的时候,可以轻 ...

    2. OpenGL学习笔记0——安装库

      最近需要做一个基于Zigbee室内无线定位的系统,受到TI公司ZigBee Sensor Monitor软件的启发,打算用OpenGL来做一个3D显示空间内物体位置的程序.学习阶段选择VS2010+O ...

    3. SQLServer查询所有库表结构信息

      1.查询数据库中的所有数据库名: SELECT Name FROM Master..SysDatabases ORDER BY Name 2.查询某个数据库中所有的表名: SELECT Name FR ...

    4. 【Python】djangorestframework 基于django框架的接口开发

      官网:http://www.django-rest-framework.org/#installation 下载:https://pypi.python.org/pypi/djangorestfram ...

    5. tp中session用来做权限方法 (缓解mysql压力)

      http://www.thinkphp.cn/code/2617.html

    6. phthon

      没什么特别的,我们项目的跨平台代码都是在Windows环境下编码,然后跨平台编译调试,C++和Python代码都是如此.我们用C++实现底层和框架,用ctypes将纯C的API给Python化,然后用 ...

    7. cache-contro页面缓存处理设置

      <meta http-equiv="pragma" content="no-cache">,pragma与no-cache用于定义页面缓存,不缓存页 ...

    8. AspNetPager分页控件

      AspNetPager分页控件解决了分页中的很多问题,直接采用该控件进行分页处理,会将繁琐的分页工作变得简单化,下面是我如何使用AspNetPager控件进行分页处理的详细代码:1.首先到www.we ...

    9. VUE 入门笔记

      前端的MVVM概念今年来也算是如火如荼,了解完 MVVM的概念,也该找个去尝试下 首先我先试了下 国内小而美的 VUE 试着照着文档敲出入门文件,内容都在注释里 <!doctype html&g ...

    10. DHCP snooping

      DHCP snooping 技术介绍   DHCP监听(DHCP Snooping)是一种DHCP安全特性.Cisco交换机支持在每个VLAN基础上启用DHCP监听特性.通过这种特性,交换机能够拦截第 ...