世界上最伟大的投资就是投资自己的教育
发点代码
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
本站文章均为原创内容,如需转载请注明出处,谢谢。
这个高亮很牛啊,怎么做的呀?
找个相应的库 markdown hightlight 的就行
预览
© 汕尾市求知科技有限公司 | Rails365 Gitlab | 知乎 | b 站 | csdn
粤公网安备 44152102000088号 | 粤ICP备19038915号
这个高亮很牛啊,怎么做的呀?
找个相应的库 markdown hightlight 的就行