web-mode.el is an autonomous emacs major mode for editing web templates. HTML documents can embed parts (CSS / JavaScript) and blocks (client / server side). web-mode.el is compatible with many template engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker, Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template, Dust.js, Google Closure (soy), React/JSX, Angularjs, ejs, Nunjucks, etc. Compatibility with many template engines : php, jsp, gsp (grails), asp / asp.net ajax (atlas), django / twig / jinja(2) / erlydtl (zotonic) / selmer, erb, ejs, freemarker, velocity, cheetah, smarty, ctemplate / mustache / hapax / handlebars / meteor / blaze / ember.js / velvet, blade (laravel), knockoutjs, go template (revel), razor/play, dust, closure (soy), underscore.js, template-toolkit, liquid (jekyll), angular.js, web2py, mako (pylons), reactjs (jsx), mojolicious, elixir (erlang), thymeleaf, cl-emb, heist, archibus, xoops, hero, spip, svelte, elixir.

Features

  • Dom navigation parent, child, traversal, beginning/end
  • Smart indentation (according to the context : HTML, code, JavaScript or CSS)
  • Syntax highlighting, according to the type of part/block
  • CSS color fontification
  • Suspicious whitespaces detection C-c C-w
  • Many helpers: dom normalization, element renaming / transposal, attributes sorting, etc.

Project Samples

Project Activity

See All Activity >

Categories

Text Editors

License

GNU General Public License version 3.0 (GPLv3)

Follow web-mode.el

web-mode.el Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of web-mode.el!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Emacs-Lisp

Related Categories

Emacs-Lisp Text Editors

Registered

2022-10-11