Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax highlighting for else if seems wrong #106

Open
bwittman opened this issue Jun 3, 2019 · 0 comments
Open

Syntax highlighting for else if seems wrong #106

bwittman opened this issue Jun 3, 2019 · 0 comments

Comments

@bwittman
Copy link
Contributor

bwittman commented Jun 3, 2019

Using Rouge and our current theme, the syntax highlighting for if is green and for else is green. However, in an else if, the else is green while the if is blue.

This if is still a reserved word, functioning exactly like a regular if. It's misleading if it's colored wrong.

Is this a problem with our theme or with Rouge? Could this issue be avoided with another syntax highlighter or is it a bug in Rouge that might get fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant