minted icon indicating copy to clipboard operation
minted copied to clipboard

Do not hightlight empty line.

Open ghost opened this issue 5 years ago • 4 comments

Hi,

if after highlighted line there is an empty one - it's highlighted too.

Maybe someone know how to fix it?

ghost avatar Jan 24 '19 19:01 ghost

And, can labels be used for highlighted lines interval specification?

ghost avatar Jan 24 '19 19:01 ghost

Can you provide a minimal example?

gpoore avatar Jan 24 '19 20:01 gpoore

https://github.com/lx-931203/minted-bug-demo

ghost avatar Jan 24 '19 20:01 ghost

That's a bug. It only occurs with numberblanklines=false, so you can disable that for now to fix highlighting.

gpoore avatar Jan 24 '19 21:01 gpoore