How can I highlight some lines with google code-prettify? Like on Github.
Asked
Active
Viewed 413 times
1 Answers
4
For highlighting 11th line use:
.prettyprint ol.linenums > li:nth-child(11) {
/* css */
}

Valeriy
- 1,365
- 3
- 18
- 45