markdown使用方法

2018年2月6日欧的朗整理

总结自Markdown 语法说明 (简体中文版)
This is an 老常的简书主页.
This is an example link.

I get 10 times more traffic from Google than from
Yahoo or sina.

A First Level Header

A Second Level Header

Now is the time for all good men to come to
the aid of their country. This is just a
regular paragraph.

The quick brown fox jumped over the lazy
dog's back.

Header 3

This is a blockquote.

This is the second paragraph in the blockquote.

This is an H2 in a blockquote

Some of these words are emphasized.
Some of these words are emphasized also.
Use two asterisks for strong emphasis.
Or, if you prefer, use two underscores instead.

  • Candy.
  • Gum.
  • Booze.
  • Candy.
  • Gum.
  • Booze.
  • Candy.
  • Gum.
  • Booze.
  1. Red
  2. Green
  3. Blue

图片链接

[图片上传失败...(image-46f867-1538986406232)]

代码块

行首两个tab键可以将整行文本显示为代码模式
行首无空格情况两个`` (该符号为~下那个小顿号)kk内的内容会显示为代码块模式
或者在文本编辑器中行首添加一个tab亦可

Git is a version control system.
Git is free software.

I strongly recommend against using any<blink> tags.
I wish SmartyPants used named entities like &mdash;
instead of decimal-encoded entites like &#8212;.

如果要建立一个已经格式化好的代码区块,只要每行都缩进 4 个空格或是一个 tab 就可以了,而 &、< 和 > 也一样会自动转成 HTML 实体。

链接 :Title
加粗 :Bold
斜体字 :Italics
删除线 :text
高亮 : ==text==
段落 : 段落之间空一行
换行符 : 一行结束时输入两个空格
列表 :* 添加星号成为一个新的列表项。
引用 :> 引用内容
内嵌代码 : alert('Hello World');
画水平线 (HR) :--------

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

推荐阅读更多精彩内容