Skip to content

Visual Studio markdown engine #824

Open

Description

@Dmitresso

Hello.
Visual Studio added markdown support in version 2022 release 17.5.
Changelog above tells decision was made based on the results of a vote on developer community forum (topic from 08.10.2018).
But I have not succeeded in finding out what engine is working under the hood, is it commonmark-compliant? GFM support? I think there is a high probability it's based on markdig but it's only suggestion.

Activity

  1. xoofx commented on Nov 12, 2024

    @xoofx
    Owner

    But I have not succeeded in finding out what engine is working under the hood, is it commonmark-compliant? GFM support? I think there is a high probability it's based on markdig but it's only suggestion.

    I don't know the details, but the default Markdown Editor in VS is using Markdig (the assembly is in some sub folders in VS install)

    I believe it might be a derived work from @madskristensen v1 version, which now has a v2 version with MarkdownEditor2022

  2. Dmitresso commented on Nov 12, 2024

    @Dmitresso
    Author

    I've just installed VS LTSC 17.4 + last MarkdownEditor2022 2.0.169 to compare with my VS 2022 17.10.3 default markdown editor.
    There are Microsoft.VisualStudio.Markdown.Platform and MarkdownEditor2022 in %temp% respectively.
    This is it at first glance on hierarchy.

  3. AmadeusW commented on Dec 17, 2024

    @AmadeusW

    Hi @Dmitresso I'm working on Markdown support in Visual Studio.
    VS 17.12 uses Markdig.Signed package version 0.30.2
    We're using the following pipeline configuration

                new MarkdownPipelineBuilder()
                    .UseAdvancedExtensions()
                    .UsePragmaLines()
                    .UsePreciseSourceLocation()
                    .UseYamlFrontMatter()
                    .UseEmojiAndSmiley()
                    .UseEmphasisExtras()
                    .UseTaskLists()
                    .Build();
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions