HTML5-YASnippet-bundle icon indicating copy to clipboard operation
HTML5-YASnippet-bundle copied to clipboard

An opinionated HTML5 YASnippet bundle. It serves my needs.

Opinionated HTML5 YASnippet Bundle

I have some opinions about how I want my HTML. This YASnippet bundle reflects that.

Feel free to fork this bundle and make it your own, If you don't agree on my style.

The structure of this package is taken from Magnar Sveen's snippet package for the buster unit test framework, buster-snippets.el.

Install

Clone the project and add the folder to the emacs load path.

(add-to-list 'load-path "/path/to/html5-snippets")
;; some time after yasnippet has been loaded execute this
(require 'html5-snippets)

The snippets should now expand in both html-mode and web-mode.

Todo

  • Write some documentation.
  • Write a todo-list.

License

Copyright (C) 2013 Martin Gausby

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.