notes_markdown
8273NOTESmarkdown2018-08-23

转义

1
特殊符号使用 \ 转义,例 \* \# \>

字体颜色

我是黑体字
我是微软雅黑
我是华文彩云
color=#0099ff size=72 face=”黑体”
color=#00ffff
color=gray

1
2
3
4
5
6
<font face="黑体">我是黑体字</font>
<font face="微软雅黑">我是微软雅黑</font>
<font face="STCAIYUN">我是华文彩云</font>
<font color=#0099ff size=7 face="黑体">color=#0099ff size=72 face="黑体"</font>
<font color=#00ffff size=72>color=#00ffff</font>
<font color=gray size=72>color=gray</font>

示例图片

官方文档

空格

半方大的空白 或 
全方大的空白 或 
不断行的空白格 或 

1
2
3
半方大的空白&ensp;或&#8194;
全方大的空白&emsp;或&#8195;
不断行的空白格&nbsp;或&#160;

代码

1
2
少量代码使用 ` 一个反引号包裹
多行代码使用三个反引号包裹

使用三个反引号包裹并指定语言

1
2
3
$(document).ready(function () {
alert('hello world');
});

支持的语言:1c, abnf, accesslog, actionscript, ada, apache, applescript, arduino, armasm, asciidoc, aspectj, autohotkey, autoit, avrasm, awk, axapta, bash, basic, bnf, brainfuck, cal, capnproto, ceylon, clean, clojure, clojure-repl, cmake, coffeescript, coq, cos, cpp, crmsh, crystal, cs, csp, css, d, dart, delphi, diff, django, dns, dockerfile, dos, dsconfig, dts, dust, ebnf, elixir, elm, erb, erlang, erlang-repl, excel, fix, flix, fortran, fsharp, gams, gauss, gcode, gherkin, glsl, go, golo, gradle, groovy, haml, handlebars, haskell, haxe, hsp, htmlbars, http, hy, inform7, ini, irpf90, java, javascript, json, julia, kotlin, lasso, ldif, leaf, less, lisp, livecodeserver, livescript, llvm, lsl, lua, makefile, markdown, mathematica, matlab, maxima, mel, mercury, mipsasm, mizar, mojolicious, monkey, moonscript, n1ql, nginx, nimrod, nix, nsis, objectivec, ocaml, openscad, oxygene, parser3, perl, pf, php, pony, powershell, processing, profile, prolog, protobuf, puppet, purebasic, python, q, qml, r, rib, roboconf, rsl, ruby, ruleslanguage, rust, scala, scheme, scilab, scss, smali, smalltalk, sml, sqf, sql, stan, stata, step21, stylus, subunit, swift, taggerscript, tap, tcl, tex, thrift, tp, twig, typescript, vala, vbnet, vbscript, vbscript-html, verilog, vhdl, vim, x86asm, xl, xml, xquery, yaml, zephir

字体大小

1号

2号

3号

4号

5号
6号
1
2
3
4
5
6
# 1号
## 2号
### 3号
#### 4号
##### 5号
###### 6号

字体着重

这是加粗的文字
这是倾斜的文字`
这是斜体加粗的文字
这是加删除线的文字

1
2
3
4
**这是加粗的文字**
*这是倾斜的文字*`
***这是斜体加粗的文字***
~~这是加删除线的文字~~

字体缩进

这是引用的内容

这是引用的内容

这是引用的内容

1
2
3
>这是引用的内容
>>这是引用的内容
>>>>>>>>>>这是引用的内容

分割线

1
2
三个以上的 - 或者 * ,效果一样
***


1
2
3
4
5
6
```

## 图片引用

``` text
![图片alt](图片地址 ''图片title'')

超链接

1
[百度](http://baidu.com)

列表

  • 列表

1.列表内容
2.列表内容
3.列表内容

1
2
3
4
5
6
7
8
9
10
11
无序列表,使用- + *效果一样
- 列表
+ 列表
* 列表

有序列表
1.列表内容
2.列表内容
3.列表内容

注意:符号跟内容之间要有一个空格

表格

表头 表头 表头
内容 内容 内容
内容 内容 内容
1
2
3
4
5
6
7
8
9
表头|表头|表头
---|:--:|---:
内容|内容|内容
内容|内容|内容

| 左对齐标题 | 右对齐标题 | 居中对齐标题 |
| :------| ------: | :------: |

表格内换行使用 </br> 标签

链接

百度

1
[百度](http://baidu.com)

选择框

  • Write the press release
  • Update the website
1
2
- [x] Write the press release
- [ ] Update the website

高亮

I need to highlight these ==very important words==.

1
I need to highlight these ==very important words==.