Emacs: Xah CSS Mode


This is the home page of xah-css-mode, a emacs major mode for CSS

How's it diff from default CSS mode in emacs? This one is based on basic syntax coloring of CSS words only. This means, for example, if you typed p {widh:65%} where the “width” has a typo, you'll know because it won't be colored.

Right now it also supports coloring hex colors in hex format of this form #fff8dc. I plan to add coloring of forms such as hsl(0,68%,42%). I plan to add keyword completion, independent of other add-ons.

download here: https://code.google.com/p/ergoemacs/source/browse/packages/xah-css-mode.el

If you find a word that's not colored, please report it on the wiki there, or send me the line containing that CSS keyword, i'll add it.

Want this mode to grow? Voice your support. 〈Emacs: new major modes for HTML, CSS, PHP, ELISP, and Lean Emacs LISP Manual〉 @ http://pledgie.com/campaigns/19973

blog comments powered by Disqus