使用 Butterfly 附带的美化效果,可以使文章在排版上更美观,易于读者阅读
标题
使用不同级别的标题,更容易分清层次
# 一级标题 ## 二级标题 ### 三级标题 #### 四级标题 ##### 五级标题 ###### 六级标题
|
一级标题
二级标题
三级标题
四级标题
五级标题
六级标题
字体
**粗体** *斜体* ~~中划线~~ ++下划线++ ==标记==
|
粗体
斜体
中划线
++下划线++
==标记==
分割线
引用
引用内容
无序列表
有序列表
- 第一
- 第二
- 第三
多级列表
1. 第一章 1.1 第一节 1.2 第二节 2. 第二章 2.1 第一节 2.2 第二节
|
- 第一章
1.1 第一节
1.2 第二节
- 第二章
2.1 第一节
2.2 第二节
无序列表同理
任务标记
超链接
[我的博客](https://jlqian.github.io/)
|
我的博客
插入图片

|
对于hexo3,可以通过下述方式插入图片
{% asset_path slug %} {% asset_img slug [title] %} {% asset_link slug [title] %}
|

表格
header 1 | header 2 ---|--- row 1 col 1 | row 1 col 2 row 2 col 1 | row 2 col 2
|
| header 1 |
header 2 |
| row 1 col 1 |
row 1 col 2 |
| row 2 col 1 |
row 2 col 2 |
代码块
代码块使用两个 ``` 包围,可以指定代码的语言,常用语言如下
| language |
key |
| 1C |
1c |
| ActionScript |
actionscript |
| Apache |
apache |
| AppleScript |
applescript |
| AsciiDoc |
asciidoc |
| AspectJ |
asciidoc |
| AutoHotkey |
autohotkey |
| AVR Assembler |
avrasm |
| Axapta |
axapta |
| Bash |
bash |
| BrainFuck |
brainfuck |
| Cap’n Proto |
capnproto |
| Clojure REPL |
clojure |
| Clojure |
clojure |
| CMake |
cmake |
| CoffeeScript |
coffeescript |
| C++ |
cpp |
| C# |
cs |
| CSS |
css |
| D |
d |
| Dart |
d |
| Delphi |
delphi |
| Diff |
diff |
| Django |
django |
| DOS.bat |
dos |
| Dust |
dust |
| Elixir |
elixir |
| ERB(Embedded Ruby) |
erb |
| Erlang REPL |
erlang-repl |
| Erlang |
erlang |
| FIX |
fix |
| F# |
fsharp |
| G-code(ISO 6983) |
gcode |
| Gherkin |
gherkin |
| GLSL |
glsl |
| Go |
go |
| Gradle |
gradle |
| Groovy |
groovy |
| Haml |
haml |
| Handlebars |
handlebars |
| Haskell |
haskell |
| Haxe |
haxe |
| HTML |
html |
| HTTP |
http |
| Ini file |
ini |
| Java |
java |
| JavaScript |
javascript |
| JSON |
json |
| Lasso |
lasso |
| Less |
less |
| Lisp |
lisp |
| LiveCode |
livecodeserver |
| LiveScript |
livescript |
| Lua |
lua |
| Makefile |
makefile |
| Markdown |
markdown |
| Mathematica |
mathematica |
| Matlab |
matlab |
| MEL (Maya Embedded Language) |
mel |
| Mercury |
mercury |
| Mizar |
mizar |
| Monkey |
monkey |
| Nginx |
nginx |
| Nimrod |
nimrod |
| Nix |
nix |
| NSIS |
nsis |
| Objective C |
objectivec |
| OCaml |
ocaml |
| Oxygene |
oxygene |
| Parser 3 |
parser3 |
| Perl |
perl |
| PHP |
php |
| PowerShell |
powershell |
| Processing |
processing |
| Python’s profiler output |
profile |
| Protocol Buffers |
protobuf |
| Puppet |
puppet |
| Python |
python |
| Q |
q |
| R |
r |
| RenderMan RIB |
rib |
| Roboconf |
roboconf |
| RenderMan RSL |
rsl |
| Ruby |
ruby |
| Oracle Rules Language |
ruleslanguage |
| Rust |
rust |
| Scala |
scala |
| Scheme |
scheme |
| Scilab |
scilab |
| SCSS |
scss |
| Smali |
smali |
| SmallTalk |
smalltalk |
| SML |
sml |
| SQL |
sql |
| Stata |
stata |
| STEP Part21(ISO 10303-21) |
step21 |
| Stylus |
stylus |
| Swift |
swift |
| Tcl |
tcl |
| Tex |
tex |
| text |
text/plain |
| Thrift |
thrift |
| Twig |
twig |
| TypeScript |
typescript |
| Vala |
vala |
| VB.NET |
vbnet |
| VBScript in HTML |
vbscript-html |
| VBScript |
vbscript |
| Verilog |
verilog |
| VHDL |
vhdl |
| Vim Script |
vim |
| Intel x86 Assembly |
x86asm |
| XL |
xl |
| XML |
xml |
| YAML |
yml |
标签
用法
{% note [class] [no-icon] %} Any content (support inline tags too.io). {% endnote %}
[class] : default | primary | success | info | warning | danger. [no-icon] : Disable icon in note.
All parameters are optional.
|
示例
{% note default %} default 提示块标签 {% endnote %}
{% note primary no-icon %} primary 提示块标签 {% endnote %}
{% note success %} success 提示块标签 {% endnote %}
{% note info %} info 提示块标签 {% endnote %}
{% note warning %} warning 提示块标签 {% endnote %}
{% note danger %} danger 提示块标签 {% endnote %}
|