/atom-django-templates

Atom support for Django templates.

Primary LanguageCoffeeScript

Atom support for Django Templates

Atom support for Django HTML templates. Originally forked from python-django-templates.tmbundle and Djaneiro.

Default Grammar

It's common for Django templates to have a .html extension. Unfortunately, this doesn't give Atom a ton of help in determining whether it should use the Django Templates grammar or the normal HTML grammar. If you put part of the path to your Django project in the "Default to Django Templates For File Paths Containing" setting, we'll change the grammar to Django Templates for any files that are .html and whose file paths contain the string you enter.

Settings Example

Release Notes

  • 0.3.0: Added an optional setting to activate the Django Template grammar based on file path.
  • 0.2.0: Fixed a bug causing the removal of comments to slice away closing >.
  • 0.1.0: Initial release.