本文来自投稿,不代表Linux运维部落立场,如若转载,请注明出处:http://www.178linux.com/92026
测试markdown是否可用
<!– @import “[TOC]” {cmd=”toc” depthFrom=1 depthTo=6 orderedList=false} –>
<!– code_chunk_output –>
* [标题1](#标题1)
* [标题2](#标题2)
* [标题3](#标题3)
<!– /code_chunk_output –>
# 标题1
## 标题2
### 标题3
> hahha
> xixi
“` {.line-numbers}
12341234
12341234
“`
1. Item 1
1. Item 2
1. Item 3
1. Item 3a
1. Item 3b
* Item 1
* Item 2
* Item 2a
* Item 2b
> 我觉得你应该在这里使用
> `<addr>` 才对。
“`ruby
require ‘redcarpet’
markdown = Redcarpet.new(“Hello World!”)
puts markdown.to_html
“`
“`javascript {.line-numbers}
function add(x, y) {
return x + y
<!– @import “[TOC]” {cmd=”toc” depthFrom=1 depthTo=6 orderedList=false} –>
}
“`
“`shell {.line-numbers}
#!/bin/bash
hostname
source /etc/profile.d/env.sh
“`
– [x] @mentions, #refs, [links](), **formatting**, and <del>tags</del> supported
– [x] list syntax required (any unordered or ordered list supported)
– [x] this is a complete item
– [ ] this is an incomplete item
First Header | Second Header
———— | ————-
Content from cell 1 | Content from cell 2
Content in the first column | Content in the second column
添加 {++ ++}
删除 {– –}
替换 {~~ ~> ~~}
注释 {>> <<}
高亮 {== ==}{>> <<}
赞 (0)
linux基础1
上一篇
2018-03-08
02葵花宝典之bash特性及文件入门
下一篇
2018-03-11