Add line number support for code snippets