Skip to content


Hiding line numbers for certain code blocks #1

ankitpokhrel opened this Issue · 3 comments

2 participants


Thank you for creating a cool plugin ;). I am using it. But is there any way to hide line numbers from certain code blocks? something like:

[php linenum='false'] Some Code [/php]


Dear Ankit,
currently there is no option included which will change it.
but it's a good idea to implement it, because it could replace the "Inline" output-style - maybe available with the next release ;)



Thank you for the prompt reply :+1: Looking forward for the next version. I am using it anyway ;).



your Feature request is added to Enlighter v2.0. You can use shortcode as well as html style.

[js linenumbers="false"]
window.addEvent('domready', function(){});
<pre data-enlighter-language="js" data-enlighter-linenumbers="false" data-enlighter-lineoffset="5">

best regards, Andi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.