From c52993948110362ea67aefd9feacde0dfbd23be9 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Thu, 11 Dec 2014 16:29:36 -0500 Subject: [PATCH] =?UTF-8?q?Use=20atom/language-gfm=E2=80=99s=20Markdown=20?= =?UTF-8?q?grammar.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We render [GitHub Flavoured Markdown](https://help.github.com/articles/github-flavored-markdown/) on the site. We can use Atom’s grammar to ensure that syntax highlighting uses the same dialect. --- grammars.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/grammars.yml b/grammars.yml index a509a253..60b90e9d 100644 --- a/grammars.yml +++ b/grammars.yml @@ -83,6 +83,8 @@ https://github.com/atom/language-csharp: - source.cs - source.csx - source.nant-build +https://github.com/atom/language-gfm: +- text.html.markdown https://github.com/atom/language-javascript: - source.js - source.js.regexp @@ -325,8 +327,6 @@ https://github.com/textmate/lua.tmbundle: - source.lua https://github.com/textmate/make.tmbundle: - source.makefile -https://github.com/textmate/markdown.tmbundle: -- text.html.markdown https://github.com/textmate/matlab.tmbundle: - source.matlab - source.octave @@ -424,3 +424,4 @@ https://raw.githubusercontent.com/eregon/oz-tmbundle/master/Syntaxes/Oz.tmLangua - source.oz https://raw.githubusercontent.com/tenbits/sublime-mask/release/Syntaxes/mask.tmLanguage: - source.mask +m