emacs html5 mode
emacs html5 mode
https://github.com/hober/html5-el
setup
$ mkdir ~/code
$ git clone https://github.com/hober/html5-el.git
$ cd html5-el.git
$ make relaxng$ cp -ip ~/.emacs{,.$(date "+%Y%m%d")}
$ cat <> ~/.emacs
>
> ;; html5 mode
> (add-to-list 'load-path "~/code/html5-el/")
>
> (eval-after-load "rng-loc"
> '(add-to-list 'rng-schema-locating-files "~/code/html5-el/schemas.xml"))
>
> (require 'whattf-dt)
>
> EOF
ヘッダ
<!-- -*- mode:nxml; coding:utf-8 -*- -->