Codeblock line numbers


#1

What is the proper way to include line numbers in code blocks?


#2

Usually a post-markdown process handles syntax highlighting. A few examples:

Syntax highlighters often have an option to include line numbers.


#3

Can the following be parsed readily to produce html ready for line numbers in post-processing js library like highlight.js?:

```app/controllers/todo.js{2}
    # line 1
    # line 2 (to be highlighted)

#4

Duplicate of: Code Blocks Extension for filenames and line numbers


#5

Thanks for the heads up @chrisalley :thumbsup:


closed #6