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

jinja tags are different than HTML tags & body text #6

Open
wraybowling opened this issue Dec 19, 2013 · 1 comment
Open

jinja tags are different than HTML tags & body text #6

wraybowling opened this issue Dec 19, 2013 · 1 comment

Comments

@wraybowling
Copy link

Look at the way django templates are highlighted. https://github.com/squ1b3r/Djaneiro

I think I would prefer jinja template highlighting to behave the same way. html tags are one color and template tags are another.

Variables between {{ braces }} are also not body text and should not be colored the same way.

Note: that package has quirks of its own however, such as not highlighting curly-braces between double-quotes

@jacobsvante
Copy link

I agree. With the way this plugin is setup now I prefer using regular HTML syntax where every Jinja-tag becomes one white and the HTML is highlighted as usual.

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

2 participants