Re: Disable line nubmers for specific listing
Posted by
abelsromero on
Sep 20, 2019; 2:49pm
URL: https://discuss.asciidoctor.org/Disable-line-nubmers-for-specific-listing-tp7157p7158.html
You can unset a value (
https://asciidoctor.org/docs/user-manual/#using-attributes-set-assign-and-reference) using :!source-linenums-option: or :source-linenums-option!:.
But keep in mind this changes the value of the attribute from that point on. So if you want to disable it only in some parts, you have to set it again after.