summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/mode/handlebars/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'public/vendor/codemirror/mode/handlebars/index.html')
-rw-r--r--public/vendor/codemirror/mode/handlebars/index.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/public/vendor/codemirror/mode/handlebars/index.html b/public/vendor/codemirror/mode/handlebars/index.html
index 4f82d602..b1bfad1c 100644
--- a/public/vendor/codemirror/mode/handlebars/index.html
+++ b/public/vendor/codemirror/mode/handlebars/index.html
@@ -1,4 +1,4 @@
-<!doctype html>
+<!doctype html>
<title>CodeMirror: Handlebars mode</title>
<meta charset="utf-8"/>
@@ -71,4 +71,9 @@
<p>Handlebars syntax highlighting for CodeMirror.</p>
<p><strong>MIME types defined:</strong> <code>text/x-handlebars-template</code></p>
+
+ <p>Supported options: <code>base</code> to set the mode to
+ wrap. For example, use</p>
+ <pre>mode: {name: "handlebars", base: "text/html"}</pre>
+ <p>to highlight an HTML template.</p>
</article>