Skip to content

Commit

Permalink
Removed HTML Support for MarkdownProvider for Text Files
Browse files Browse the repository at this point in the history
Removed HTML Support for MarkdownProvider for Text Files for the
MarkdownEditor extension
  • Loading branch information
rionmonster committed Oct 25, 2016
1 parent 10ec6ff commit ca45943
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
15 changes: 4 additions & 11 deletions Helpers/Markdown/MarkdownContentTypeDefinition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,10 @@ public class MarkdownContentTypeDefinition
{
public const string MarkdownContentType = "markdown";

[Export(typeof(ContentTypeDefinition))]
[Name(MarkdownContentType)]
[BaseDefinition("htmlx")]
public ContentTypeDefinition IMarkdownContentType { get; set; }

// Removed due to conflict with MarkdownEditor extension (https://github.com/madskristensen/MarkdownEditor)

//[Export(typeof(FileExtensionToContentTypeDefinition))]
//[ContentType(MarkdownContentType)]
//[FileExtension(".md")]
//public FileExtensionToContentTypeDefinition MdFileExtension { get; set; }
[Export(typeof(FileExtensionToContentTypeDefinition))]
[ContentType(MarkdownContentType)]
[FileExtension(".md")]
public FileExtensionToContentTypeDefinition MdFileExtension { get; set; }

[Export(typeof(FileExtensionToContentTypeDefinition))]
[ContentType(MarkdownContentType)]
Expand Down
2 changes: 1 addition & 1 deletion source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="950d05f7-bb25-43ce-b682-44b377b5307d" Version="1.5.2.1" Language="en-US" Publisher="Rion Williams" />
<Identity Id="950d05f7-bb25-43ce-b682-44b377b5307d" Version="1.5.2.2" Language="en-US" Publisher="Rion Williams" />
<DisplayName>Glyphfriend</DisplayName>
<Description xml:space="preserve">Glyphfriend is a Visual Studio extension to enhance the existing Intellisense to display preview glyphs for many of the common glyph-based font libraries like Font Awesome, Foundation, IonIcons and more.</Description>
<MoreInfo>https://visualstudiogallery.msdn.microsoft.com/5fd24afb-b3b2-4cec-9b03-1cfcec6123aa</MoreInfo>
Expand Down

0 comments on commit ca45943

Please sign in to comment.