aramk / crayon-syntax-highlighter

Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
https://wordpress.org/plugins/crayon-syntax-highlighter/
GNU General Public License v3.0
1.1k stars 247 forks source link

Line #2 won't "mark" #156

Open Ayodehi opened 10 years ago

Ayodehi commented 10 years ago

Running this code will mark lines 3 and 5, but not 2. No matter what I try, I can't get any code segments to mark line 2.

(Note: the language is a custom language to support http://docs.unity3d.com/Documentation/Components/SL-Reference.html)

CGPROGRAM
#pragma vertex vert
#pragma fragment frag

float4 _Color;
ENDCG
H-Ahmadi commented 9 years ago

i have the same problem, line 2,4,6... can't be marked... any idea?

CodAffection commented 6 years ago

@Ayodehi @H-Ahmadi try this - Crayon Settings > Line > UnCheck 'Display striped code lines'. Happy Coding 👍

aramk commented 6 years ago

If this is happening then it's a bug. The striped code lines class might be higher CSS specificity than the marked line rules.