Line numbers in code listings

(Johan Dahl) #1


Would it be possible to turn on linenumbers on code between triple backticks in this forum?

With kind regards, Johan

(cosmos) #2

Maybe like this ?

Discourse uses markdown, but I think only a subset. Or an admin can customize it

function add(x, y) {
  return x + y

Doesn’t seems to work

(Johan Dahl) #3

What a pity. Good try though