From d253ec53e4c702e1a57a550528b76e10633c4106 Mon Sep 17 00:00:00 2001 From: Gilad Gray Date: Wed, 15 Mar 2017 16:18:24 -0700 Subject: [PATCH] [DM] update documentalist for syntax highlighting (#846) & ensure handlebars grammar --- gulp/util/text.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gulp/util/text.js b/gulp/util/text.js index 223abe05d2..5ee1b5e355 100644 --- a/gulp/util/text.js +++ b/gulp/util/text.js @@ -35,7 +35,7 @@ var renderer = new marked.Renderer(); renderer.code = (textContent, language) => { // massage markdown language hint into TM language scope if (language === "html") { - language = "text.html.basic"; + language = "text.html.handlebars"; } else if (language != null && !/^source\./.test(language)) { language = `source.${language}`; } diff --git a/package.json b/package.json index 06e85aae2f..8de9257430 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "better-handlebars": "github:wmeldon/better-handlebars", "chai": "3.5.0", "del": "2.2.2", - "documentalist": "0.0.3", + "documentalist": "0.0.4", "enzyme": "2.6.0", "gulp": "3.9.1", "gulp-concat": "2.6.0",