Closed this issue 8 years ago · 1 comments
Is there any plan to support line number?
You can achieve this easily by yourself:
let lineNumber = 0 let out = hanabi(code) .replace(/^/gm, m => { return `<span style="width: 30px; display: inline-block">${++lineNumber}</span>` })
And how it looks like: