You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Name of the lexer
If there are backticks present in the code, the lexer doesn't understand when to close it and highlights all following code as if it were a string literal.
Code sample
A sample of the code that produces the bug.
constgetOptionLabel=(option): string=>(option.id ? `${option.name??USER_DEFINED} (${option.id})` : '');/** * Some comments * */consttestFunction=()=>{// Some code};
Name of the lexer
If there are backticks present in the code, the lexer doesn't understand when to close it and highlights all following code as if it were a string literal.
Code sample
A sample of the code that produces the bug.
See the code sample on rouge.jneen.net.
The text was updated successfully, but these errors were encountered: