Closed brettaufheber closed 2 years ago
The attributes "linenums" and "highlight" as described here are currently ignored by the highlight.js extension.
Also, another attribute is required to start code snippets at a specific line number.
A treeProcessor can be implemented to solve the issue.
const language = block.getAttribute('language', 'nohighlight'); const useLineNumbers = block.getAttribute('linenums', null) === 'linenums'; const startFrom = block.getAttribute('start-from', 1); const highlights = block.getAttribute('highlight', null);
Moved issue to another repository. https://github.com/brettaufheber/asciidoc-site-generator/issues/1
The attributes "linenums" and "highlight" as described here are currently ignored by the highlight.js extension.
Also, another attribute is required to start code snippets at a specific line number.
A treeProcessor can be implemented to solve the issue.