利用google prettify 让代码高亮,好看。
下载地址:
http://code.google.com/p/google-code-prettify/
http://www.bootcdn.cn/prettify/
网络引入地址: //cdn.bootcss.com/prettify/r298/prettify.min.js
效果图如下
<% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %>质量录入
以上所述是小编给大家介绍的bootstrap中使用google prettify让代码高亮的方法,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对考高分网网站的支持!



