How to add line numbers to code blocks?

Edit: ok I whipped together a quick theme component. I will add some settings later to control background and text colours.

10 Likes