Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mustache.mode.el

  • Loading branch information...
commit b8ecafcd18f3cdd88ebe104b4536cf3d2e99d596 1 parent e13aa25
@defunkt defunkt authored
Showing with 7 additions and 6 deletions.
  1. +5 −4 README.md
  2. +2 −2 contrib/{tpl-mode.el → mustache-mode.el}
View
9 README.md
@@ -421,9 +421,10 @@ is included under the contrib/ directory.
Emacs
-----
-tpl-mode.el is included under the contrib/ directory for any Emacs users.
-Based on Google's tpl-mode for ctemplates, it adds support for Mustache's
-more lenient tag values and includes a few commands for your editing pleasure.
+mustache-mode.el is included under the contrib/ directory for any
+Emacs users. Based on Google's tpl-mode for ctemplates, it adds
+support for Mustache's more lenient tag values and includes a few
+commands for your editing pleasure.
TextMate
@@ -469,7 +470,7 @@ like. Then the template is evaluated once for each of them.
name: scott
---
Hi {{name}!
-
+
$ mustache < multiple.mustache
Hi chris!
Hi mark!
View
4 contrib/tpl-mode.el → contrib/mustache-mode.el
@@ -14,8 +14,8 @@
;;; (add-hook 'tpl-mode-hook '(lambda () (font-lock-mode 1)))
;;; ---
;;;
-;;; While the CTemplate language can be used for any types of text,
-;;; this mode is intended for using CTemplate to write HTML.
+;;; While the Mustache language can be used for any types of text,
+;;; this mode is intended for using Mustache to write HTML.
;;;
;;; The indentation still has minor bugs due to the fact that
;;; templates do not require valid HTML.
Please sign in to comment.
Something went wrong with that request. Please try again.