Skip to content

Commit

Permalink
[DM] update documentalist for syntax highlighting (#846)
Browse files Browse the repository at this point in the history
& ensure handlebars grammar
  • Loading branch information
giladgray authored Mar 15, 2017
1 parent 4d16cd5 commit d253ec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulp/util/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d253ec5

Please sign in to comment.