highlightText now accepts fourth parameter options - object that currently supports only one property hideLineNumbers. If it's true, then line numbers won't be rendered.
TODO:
Mention new feature in readme
Consider passing this options also to highlightAll and highlightElement
@vitalybaev
i made a minor change in your code and passed options to highlightAll and highlightElement
for the doc i am working on a jsdoc github action and i mention the new feature in the wiki
do you have anything else to point out before i publish a new version npm ?
Changes
highlightText
now accepts fourth parameteroptions
- object that currently supports only one propertyhideLineNumbers
. If it's true, then line numbers won't be rendered.TODO:
highlightAll
andhighlightElement