-
目录
- 图片
- 加粗、斜体、显示关键字、邮件、网址
- 锚点连接(仿HTML)
- 列表
- 文字引用
- 代码块
- Table 表格
case1 图片
![404] (https://http.cat/404)
case2 加粗、斜体、显示关键字、邮件、网址
Markdown
Emphasize
**Strong**
、__Strong__
、Command+B
邮箱:<lsiuhen.ing@gmail.com>
百度:百度一下你就知道
404:Google一下你会知道的更多
case3 锚点连接(仿HTML)
单行代码开始的地方
**多行代码区**
/**
* 根据房源绑定 spinner
* <p/>
* 区域
*/
private void bindDataByHouseType() {
/**
* 拼接提示信息 不参与请求URL 参数拼接
*/
SpinnerAreaRsBean.Data data = new SpinnerAreaRsBean.Data();
data.setAdcode("0");
data.setName("区域");
spinnerAreaRsBean.getData().add(0, data);
mTip_spinner.attachDataSource(spinnerAreaRsBean.getData());
}
锚点链接结束:对应上方设置的锚点链接
This there anchor link
case4 列表
- Lists must be preceded by a blank line (or block element)
- Unordered lists start each item with a
*
- Indent a level to make a nested list
- second line
- Orderd list are supported
- 随意打数字 Mark自动编序号
case5 文字引用
Angle brackets
>
are used for block quotes.
Technically not every line needs to start with a>
as long as
Looks kinda ugly though.Block quotes can be nested.
Multiple Levels
Most markdown syntaxes work inside block quotes.
- Lists
- [Links][arbitrary_id]
- Etc.
case 6 代码块
/**
* 根据房源绑定 spinner
* <p/>
* 区域
*/
private void bindDataByHouseType() {
/**
* 拼接提示信息 不参与请求URL 参数拼接
*/
SpinnerAreaRsBean.Data data = new SpinnerAreaRsBean.Data();
data.setAdcode("0");
data.setName("区域");
spinnerAreaRsBean.getData().add(0, data);
mTip_spinner.attachDataSource(spinnerAreaRsBean.getData());
}
print('至少缩进四个空格或一个标签,也可以显示一个代码块。')
case 7 Table 表格
First Header | Second Header |
---|---|
Content Cell | Content Cell |
Content Cell | Content Cell |
Table (1)
Left Aligned | Center Aligned | Right Aligned |
---|---|---|
col 3 is | some wordy textdsfsdfsf | $1300 |
col 2 is | center | $13 |
stripes | center |
$163 print('hellowold')
|
stripes | center | $163 |
Table (2)
Option name | Markup | Result if enabled |
---|---|---|
Intra-word emphasis | So A*maz*ing | So A<em>maz</em>ing |
Strikethrough | ~~Much wow~~ | <del>Much wow</del> |
Underline [^under] | _So doge_ | <u>So doge</u> |
Quote [^quote] | "Such editor" | <q>Such editor</q> |
Highlight | ==So good== | <mark>So good</mark> |
Superscript | hoge^(fuga) | hogefuga |
Autolink | http://t.co | http://t.co |
Footnotes | [^4] and [^4]: | [^4] and footnote 4 |
网友评论