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.
如何使用 google code-prettify 突出显示某些行?就像在Github上一样。
要突出显示第 11 行,请使用:
.prettyprint ol.linenums > li:nth-child(11) { /* css */ }