Is there any way to quote/format code including automated line numbers?
Sometimes especially in quite long configuration files and scripts it would be very helpful for both question and answers to be able to refer to a certain line of code by line number.
Is there a way to get something like
1. Code
2. More code
3. Even more code
4. ...
without having to insert the numbering manually?