命令行中输入:
hexo new “new article” =>Create post
hexo new draft “new draft” =>Create draft
#title 1
##title 2
###title 3
bold
line
这会是 斜体 的文字
这会是 斜体 的文字
这会是 粗体 的文字
这会是 粗体 的文字
你也 组合 这些符号
这个文字将会被横线删除
-
Item 1
-
Item 2
- Item 2a
- Item 2b
有序列表
- Item 1
- Item 2
- Item 3
- Item 3a
- Item 3b
添加图片

Format:
链接
https://github.com - 自动生成!
GitHub
引用
正如 Kanye West 所说:
We’re living the future so
the present is our past.
分割线
如下,三个或者更多的
连字符
星号
下划线
行内代码
我觉得你应该在这里使用
<addr> 才对。
代码块
你可以在你的代码上面和下面添加 ``` 来表示代码块。
语法高亮
你可以给你的代码块添加任何一种语言的语法高亮
例如,给 ruby 代码添加语法高亮:
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
会得到下面的效果:
代码块 class(MPE 扩展的特性)
你可以给你的代码块设置 class。
例如,添加 class1 class2 到一个 代码块:
function add(x, y) { | |
return x + y | |
} |
代码行数
如果你想要你的代码块显示代码行数,只要添加 line-numbers class 就可以了。
例如:
function add(x, y) { | |
return x + y | |
} |
高亮代码行数
你可以通过添加 highlight 属性的方式来高亮代码行数:
任务列表
表格
| First Header | Second Header |
|---|---|
| Content from cell 1 | Content from cell 2 |
| Content in the first column | Content in the second column |
符号
😄
:fa-car:
上下标
30th
H2O
脚注
Content [1]
缩略
_[HTML]: Hyper Text Markup Language
_[W3C]: World Wide Web Consortium
The HTML specification
is maintained by the W3C.
标记
marked
chart reference
https://shd101wyy.github.io/markdown-preview-enhanced/#/zh-cn/diagrams
import file
https://shd101wyy.github.io/markdown-preview-enhanced/#/zh-cn/file-imports
ls .
const date = Date.now() | |
console.log(date.toString()) |
code chunck https://shd101wyy.github.io/markdown-preview-enhanced/#/zh-cn/code-chunk
Hi! This is a footnote ↩︎