Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
prettify.js有一组“主题”。
我如何实际使用它们?我<link href="">是选择一个选定的“主题”.css文件而不是prettify.css文件还是做其他事情?程序是什么?
<link href="">
.css
prettify.css
只需将默认 CSS 文件替换为主题的 CSS 文件即可:
<link href="sunburst.css" type="text/css" rel="stylesheet" />