世界上最伟大的投资就是投资自己的教育

全场限时 5 折

首页分享
xiaoxiao68 · 凡人

测试下 markdown 有没高亮

xiaoxiao68发布于6532 次阅读

发点代码

var s = "JavaScript syntax highlighting";
alert(s);
s = "Python syntax highlighting"
print s
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
{
  "firstName": "John",
  "lastName": "Smith",
  "age": 25
}
<?php
  echo 111;
#!/bin/bash
#

if [ ! -e ./config.ini ]; then
    echo "config.ini is not exists..please check.."
    exit 1
fi
function () { return "This code is highlighted as Javascript!"}
foo@bar:~$ whoami
foo
cd \
copy a b
ping 192.168.0.1

本站文章均为原创内容,如需转载请注明出处,谢谢。

2 条回复
喜欢
统计信息
    学员: 29178
    视频数量: 1985
    文章数量: 489

© 汕尾市求知科技有限公司 | Rails365 Gitlab | Qiuzhi99 Gitlab | 知乎 | b 站 | 搜索

粤公网安备 44152102000088号粤公网安备 44152102000088号 | 粤ICP备19038915号

Top