Markdown Test
来源:互联网 发布:php server argv 编辑:程序博客网 时间:2024/05/29 03:18
Contents:
{:.no_toc}
* Will be replaced with the ToC, excluding the “Contents” header
{:toc}
TOC
如果想让一篇文章(即post)生成TOC,可以在最开始添加:
# Contents:{:.no_toc}* Will be replaced with the ToC, excluding the "Contents" header{:toc}
效果见本文开头。 说明:*后面可以是任意字符(除了中文)。如果想让某一标题不出现在TOC中,可以在该标题下一行添加{:.no_toc},比如此例中的标题一“Contents:”。
另外,你也可以以如下方式添加:
* Contents" header{:toc}
效果相信你懂的。
表格
简单版
用一个管道字符|开始一个表行。
代码:
| A simple | table || with multiple | lines|
效果:
| A simple | table |
| with multiple | lines|
带表头版
代码:
| Header1 | Header2 | Header3 ||:--------|:-------:|--------:|| cell1 | cell2 | cell3 || cell4 | cell5 | cell6 ||-| cell1 | cell2 | cell3 || cell4 | cell5 | cell6 ||=| Foot1 | Foot2 | Foot3{: rules="groups"}
效果:
{: rules=”groups”}
说明: |:--- |:--- :|--- :|
前面是表头,冒号代表对齐方向 |-
是隔板线 |=
后面代表表脚
Tips:可以利用全角下的空格来控制间距使得表格更美观
注释
代码:
This is a paragraph{::comment}This is a comment which iscompletely ignored.{:/comment}... paragraph continues here.Extensions can also be usedinline {::nomarkdown}**see**{:/}!
效果:
This is a paragraph
{::comment}
This is a comment which is
completely ignored.
{:/comment}
… paragraph continues here.
Extensions can also be used
inline {::nomarkdown}see{:/}!
脚注
代码:
This is a text with afootnote[^1].[^1]: And here is the definition.
效果:
This is a text with a
footnote1.
缩写
代码:
This is an HTML example.
*[HTML]: Hyper Text Markup Language
效果:
This is an HTML example.
*[HTML]: Hyper Text Markup Language
内联属性
代码:
This is *red*{: style="color: red"}.
效果:
This is red{: style=”color: red”}.
- http://write.blog.csdn.net/mdeditor#fnref:1 ↩
- test markdown
- test markdown
- test Markdown
- Markdown test
- Test markdown
- Markdown Test
- markdown test
- Markdown Test
- Markdown Test
- Markdown Test
- markdown-test
- test csdn markdown
- csdn markdown test
- CSDN Markdown test
- Test-CSDN-markdown编辑器
- Test CSDN-Markdown
- test markdown-here chrome 插件
- test use CSDN-markdown编辑器
- 自己写的回调函数的注册与使用例子,请多指教
- Javascript正则表达式
- 关于Android 下拉刷新,上拉加载更多数据功能的详细解析
- 数据库范式详解
- DeepID算法实践
- Markdown Test
- Android OOM原因总结
- Android实现二维码扫描登录网页
- HDOJ 爆栈
- 类库的设计要保持相对稳定
- Android动画
- hdoj 1874 畅通工程续 【dijkstra】
- Pushing Boxes (poj 1475 嵌套bfs)
- 解决Bitmap导致的内存溢出问题