测试Markdown

测试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
添加 {++ ++}
删除 {– –}
替换 {~~ ~> ~~}
注释 {>> <<}
高亮 {== ==}{>> <<}

本文来自投稿,不代表Linux运维部落立场,如若转载,请注明出处:http://www.178linux.com/92026

(0)
上一篇 2018-03-08 19:35
下一篇 2018-03-11 02:02

相关推荐

  • 基于samba服务的wordpress站点

    实验要求:             (1) samba server导出/data/app/web,在目录中提供wordpress;     (2) samba  client挂载nfs server导出的文件…

    2017-06-08
  • corosync + pacemaker搭建高可用http

    一、实验图:    二、实验环境准备:  1)时间同步(172.16.2.15是时间服务器) [root@web1 ~]# crontab  -e   */5 * * * * /usr/sbin/ntpdate&nbsp…

    Linux干货 2015-06-30
  • 马哥教育网络版21班第四周作业

    1、复制/etc/skel目录为/home/tuser1,要求/home/tuser1及其内部文件的属组和其他用户均没有任何访问权限 [root@localhost ~]# cp -rf /etc/skel/ /home/tuser1 [root@localhost ~]# chmod&n…

    Linux干货 2016-08-05
  • DNS快速入门、正反向解析……

    DNS服务原理详解 因特网上作为域名和IP地址相互映射的一个分布式数据库,能够使用户更方便的访问互联网,而不用去记住能够被机器直接读取的IP数串。通过主机名,最终得到该主机名对应的IP地址的过程叫做域名解析。 我们在访问一个网站的时候,只要输入该网站的网址就会跳转到该网站页面,而实现这一过程就需要DNS服务器将域名解析为IP地址,进而实现数据通信。 DNS:…

    2017-06-03
  • 马哥教育网络班22期+第2周课程练习

    1、Linux上文件/目录相关命令有哪些? 1)目录管理类命令:mkdir、rmdir (1)mkdir:make directorise 创建文件夹  使用格式:      mkdir [OPTION]… DIRECTORY…    &nb…

    Linux干货 2016-09-08
  • 文本处理工具

    一、文本处理工具的分类:     查看全部内容:more、less、cat、tac、rev     截取文件内容:head 、tail     抽取文件内容:cut     抽取关键字:grep、eg…

    Linux干货 2016-08-08