Update documentation for remove line numbers in previous versions
I have been unable to find out how to turn off line numbers in the code block. I have tried:
linenumbers=hidden linenumbers=false
and some others but it appears that the line numbers are showing by default and I would like to turn them off.
Comments (6)
-
-
repo owner Please also notice, that showing line numbers changed with the last major release.
In version 1.9 and before, line numbers were automatically shown and you had to deactivate it manually with {code:hide-linenums}.
Since version 2.0 and above line numbers are no longer shown by default and you have to activate them with {code:linenumbers}.
I will add this info to the documentation to make this clear for users of previous versions.
Kind regards, Holger
-
repo owner - changed title to Update documentation for remove line numbers in previous versions
-
assigned issue to
- marked as task
-
repo owner @jbelisle21 Does hide-linenums work for you? Or did you update to v2.x?
-
repo owner - changed milestone to 2.1.0
-
repo owner - changed status to resolved
- Log in to comment
You can use hide-linenum