# About Zencoding (Description here](http://www.456bereastreet.com/archive/200909/write_html_and_css_quicker_with_with_zen_coding/) and (here](http://mondaybynoon.com/2009/08/17/the-art-of-zen-coding-bringing-snippets-to-a-new-level/). I’ll quote the blog: > zen-coding includes an entirely new angle to writing markup, and it > facilitates the feature by letting you write HTML based on CSS > selectors. It’s so simple it’s confusing at first. I think it’s best > explained by doing a quick before and after. If you were to type: div#name.one.two > and follow that with the zen-coding plugin keystroke (CMD+E in TextMate), the plugin will reformat the line as:
See the [EmacsWiki for more background on this mode.](http://www.emacswiki.org/emacs/ZenCoding). # Installation Just make sure zencoding-mode.el is in your `load-path`, if you extracted zencoding-mode to a directory: (add-to-list "~/emacs.d/zencoding-mode") And then just require as normal: (require 'zencoding-mode) # Usage Enable it by running `M-x zencoding-mode`. You probably want to add it to auto-load on your sgml modes: (add-hook 'sgml-mode-hook 'zencoding-mode) ;; Auto-start on any markup modes Good to go. # Screenshots and videos *  * [YouTube video]: http://www.youtube.com/watch?v=u2r8JfJJgy8 # Examples ## Basic tags a a.x a#q.x a#q.x.y.z #q \n\n | \n