How to add line numbers to code blocks?

3 posts were merged into an existing topic: Code-block line numbers