MarkdownRender icon indicating copy to clipboard operation
MarkdownRender copied to clipboard

Load Markdig in an assembly load context

Open michaeltlombardi opened this issue 2 years ago • 4 comments

Summary of the new feature / enhancement

As a developer working on a PowerShell module that interacts with Markdown, I want to be able to use newer versions of the Markdig library without conflict errors. Because Markdig isn't loaded in an ALC, using a newer version of Markdig in my module isn't feasible.

One reason to desire a newer version of the library is to gain access to the round-tripping support and more walkable AST.

Proposed technical implementation details (optional)

Update the module to load Markdig in an ALC. No change is required to the version of Markdig used.

michaeltlombardi avatar Jan 19 '23 21:01 michaeltlombardi

I'm willing to attempt a PR if there is interest @adityapatwardhan @xtqqczze? I'm working on a streaming markdown parser for chatgpt and this is getting in the way.

JustinGrote avatar Mar 25 '23 00:03 JustinGrote

Please do. Would love a PR.

adityapatwardhan avatar Mar 25 '23 01:03 adityapatwardhan

@adityapatwardhan sounds good, can you add the up for grabs label?

JustinGrote avatar Mar 25 '23 20:03 JustinGrote

Hugely appreciated, @JustinGrote - I've been bouncing off this problem for the Documentarian module(s) for a bit and this would be radically helpful!

michaeltlombardi avatar Mar 27 '23 13:03 michaeltlombardi