Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a few more file extensions (.md, .mdown, .mkdn) to the list ass…

…ociated with markdown. Bumped extension version to 2.1.
  • Loading branch information...
commit fd15c1f027ae8bdefab9047aa812bd16d8c1893f 1 parent c6a4c46
Noah Richards authored
Showing with 17 additions and 2 deletions.
  1. +15 −0 ContentType.cs
  2. +2 −2 source.extension.vsixmanifest
View
15 ContentType.cs
@@ -27,6 +27,21 @@ static class ContentType
[Export]
[ContentType(Name)]
+ [FileExtension(".md")]
+ public static FileExtensionToContentTypeDefinition MdFileExtension = null;
+
+ [Export]
+ [ContentType(Name)]
+ [FileExtension(".mdown")]
+ public static FileExtensionToContentTypeDefinition MdownFileExtension = null;
+
+ [Export]
+ [ContentType(Name)]
+ [FileExtension(".mkdn")]
+ public static FileExtensionToContentTypeDefinition MkdnFileExtension = null;
+
+ [Export]
+ [ContentType(Name)]
[FileExtension(".markdown")]
public static FileExtensionToContentTypeDefinition MarkdownFileExtension = null;
}
View
4 source.extension.vsixmanifest
@@ -3,8 +3,8 @@
<Identifier Id="MarkdownMode">
<Name>Markdown Mode</Name>
<Author>Noah Richards</Author>
- <Version>2.0</Version>
- <Description>A language service for editing Markdown files.</Description>
+ <Version>2.1</Version>
+ <Description xml:space="preserve">A language service for editing Markdown files.</Description>
<Locale>1033</Locale>
<MoreInfoUrl>http://blogs.msdn.com/noahric</MoreInfoUrl>
<License>ms-pl-MIT.txt</License>
Please sign in to comment.
Something went wrong with that request. Please try again.