better-comments icon indicating copy to clipboard operation
better-comments copied to clipboard

Better Comments not working for 'django-html' <-- Django Templates

Open aadityapyarla opened this issue 4 years ago • 2 comments

If you are not available no problem, I understand

Better Comments Extension, one of thee most popular extension out their in the market is loved by soo many developers including myself. But I am happy to contribute to this extension and make our live more useful. Unfortunately, Better Comments doesn't work with some unsupported languages like django-html & django-txt. So far, so good but this small change could sovle the problem for millions of developers using django.

As adding languages into the supported list manually makes your job very tedious, you may look forward for a feature thru which we can add our own languages to the supported languages list. That might solve many issues open in this repository. You can add this feature for you next release if you plan to prepare an update on this extension.

Aaditya Pyarla Thanks

image

aadityapyarla avatar Jul 13 '21 03:07 aadityapyarla

I'm currently working on a fix that allows the extension to work with all languages, without needing changes from me. This will be available in the next few weeks, and as long as you have a Django extension which tells Better Comments about the language format, everything should work automatically!

aaron-bond avatar Oct 05 '21 22:10 aaron-bond

I've finished up with v3, but Django is proving to be a bit of a pain. As far as I can tell, Django uses *.html files for syntax highlighting? There's no specific Django file extension that I can tell?

aaron-bond avatar Apr 05 '22 13:04 aaron-bond