Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (20 sloc) 656 Bytes
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
namespace MarkdownMode
{
static class ContentType
{
public const string Name = "markdown";
[Export]
[Name(Name)]
[DisplayName("Markdown")]
[BaseDefinition("HTML")]
public static ContentTypeDefinition MarkdownModeContentType = null;
// Pre-RTM workaround:
// We need to also explicitly declare HTML, or else our declaration will cause HTML to break
[Export]
[Name("HTML")]
[BaseDefinition("code")]
public static ContentTypeDefinition HTMLContentType = null;
}
}