madskristensen / MarkdownEditor2022

A Visual Studio extension
Apache License 2.0
168 stars 36 forks source link

Azure DevOps formatting? #46

Open crazycga opened 2 years ago

crazycga commented 2 years ago

I'd prefer not to get flamed out here by asking this, but I've looked around and it doesn't seem like anyone else has asked... This tool is awesome, but I was wondering if there's any plans in play for making it compliant with Azure DevOps wiki formats? I noticed when writing an example file that the MD format must be a little different between GitHub and DevOps, because certain things like the use of single and triple hashes don't work, and it didn't build a Table of Contents using the [[TOC]] command.

Is there any plan for how it can be updated to use the Azure DevOps spec as well? If not, what could be done to help that along?

There isn't a lot of options for editing wiki formats in VS, which is where I'm coding anyway. I'd love to be able to use this product. Thank you!

[Edit: For reference, that TOC command was [ [ T O C ] ]

madskristensen commented 2 years ago

You can create a TOC by right-clicking and click "Generate TOC".

As for the AzDO markdown spec, I'd be happy to support any flavor of markdown possible. However, the extension uses the Markdig NuGet package for parsing markdown, so it can only support what Markdig supports. If you add a feature request on Markdig's github repo, then that's probably the fastest way to get the support added to this extension.