AsciidocFX icon indicating copy to clipboard operation
AsciidocFX copied to clipboard

Code block numbered lines offset

Open Codekloeppler opened this issue 6 years ago • 0 comments

Since release 1.4.6 line numbering in code blocks is supported by adding prettify.js (see #226)

Prettify supports an offset where to start the numbers, but there seems to be no chance to set the starting line number with AsciidocFX. Is it possible to support this?

I allready tried to find where in the AsciidocFX this could be set, but had no luck to identify the right place. For me it seems, it doesn't matter what string I add after the code language. Any given string will activate the line numbering - Even "foobar"!?

So there might not even be any kind of parsing for this attribute and no chance to give other information, like a linenumber.

Best Regards

Codekloeppler avatar Mar 21 '19 13:03 Codekloeppler