markdown使用方法

2018-02-06  本文已影响0人  欧德朗

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.

  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) :--------

上一篇 下一篇

猜你喜欢

热点阅读