| 80 | == web-mode == |
| 81 | |
| 82 | '''Status: maintained.''' |
| 83 | |
| 84 | Autonomous major mode for editing web templates aka HTML files embedding JS/CSS and code blocks. |
| 85 | |
| 86 | Native features: |
| 87 | * smart indentation (according to the context : HTML, JavaScript or CSS) |
| 88 | * compatibility with many template engines |
| 89 | * block navigation {% for %} … {% endfor %}, etc. |
| 90 | * folding C-c C-f for HTML elements |
| 91 | * HTML tag autoclosing (after </) |
| 92 | * syntax highlighting (according to the type of block) |
| 93 | * snippet insertion C-c C-i (auto indented, aware of text selection) |
| 94 | * comment / uncomment C-c C-; according to the type of block |
| 95 | * clever selection and expansion C-c C-m |
| 96 | * css colorization |
| 97 | |
| 98 | web-mode.el can be downloaded on : http://web-mode.org |
| 99 | |
| 100 | {{{ |
| 101 | #!html |
| 102 | <img src="http://web-mode.org/images/django-emacs.png?format=raw" alt="screenshot of a django template." /> |
| 103 | }}} |
| 104 | |