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
When viewing a template with the Djaneiro HTML syntax highlighting, the django-specific syntax doesn't contrast much with the rest of the HTML as they use mostly the same colours (apart from comments, which follow the normal comment highlighting).
The Handlebars plugin (https://github.com/daaain/Handlebars) does this pretty well, as an example: loops and block tags, as well as variables, stand out nicely, in any colour scheme.
The text was updated successfully, but these errors were encountered:
+1
Django tags are usally very simple so that there's no need for syntax coloring inside them. We just need them to stand out from the html. Actually, just extending the normal hmtl highlighting but making anything between { and } stand out using just one special color (or background color) would be enough (appart from the comments).
While I like the idea the actual implementation is not that simple. There are hundreds of color schemes which people use. Which color should I pick? Which one will work will all of them and won't look ugly for some users. Djaneiro uses default colors and they change with your color scheme.
I'll take a look a see if I can use something from default variables and see if that will make things better.
When viewing a template with the Djaneiro HTML syntax highlighting, the django-specific syntax doesn't contrast much with the rest of the HTML as they use mostly the same colours (apart from comments, which follow the normal comment highlighting).
The Handlebars plugin (https://github.com/daaain/Handlebars) does this pretty well, as an example: loops and block tags, as well as variables, stand out nicely, in any colour scheme.
The text was updated successfully, but these errors were encountered: