Date: 25/08/2015 Permalink: improving-code-highlighting Tags: blogging, styling, jquery, html
Improving code highlighting
Since I have turned on line-numbering for code blocks, it gets applied to all blocks of code. This has a couple of downsides
- Numbering and syntax-highlighting gets applied to every code block regardless if it is displaying programming code or not
- Line-numbering always starts at line 1, when sometimes the code displayed is an excerpt of a larger piece