使用 google code-prettify 突出显示一些行

Highlight some lines with google code-prettify

如何使用 google code-prettify 突出显示某些行?点赞 Github.

要突出显示第 11 行,请使用:

.prettyprint ol.linenums > li:nth-child(11) {
    /* css */
}