Created
January 10, 2010 08:12
-
-
Save NoahRic/273372 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ComponentModel.Composition; | |
using Microsoft.VisualStudio.Utilities; | |
namespace MarkdownMode | |
{ | |
static class ContentType | |
{ | |
[Export] | |
[Name("markdown")] | |
[DisplayName("Markdown")] | |
[BaseDefinition("text")] | |
public static ContentTypeDefinition MarkdownModeContentType = null; | |
[Export] | |
[ContentType("markdown")] | |
[FileExtension(".mkd")] | |
public static FileExtensionToContentTypeDefinition MkdFileExtension = null; | |
[Export] | |
[ContentType("markdown")] | |
[FileExtension(".markdown")] | |
public static FileExtensionToContentTypeDefinition MarkdownFileExtension = null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment