scalameta / mdoc

Typechecked markdown documentation for Scala
https://scalameta.org/mdoc/
Apache License 2.0
394 stars 80 forks source link

EvaluatedMarkdownDocument interface #838

Closed keynmol closed 1 month ago

keynmol commented 7 months ago

This is a proposal to discuss with other maintainers.

Adding this method allows managing multiple mdoc instance via classloaders, and in general makes the Mdoc interface cover the thing most people would use mdoc for - markdown documents.

I've already confirmed that with this PR it's possible to use mdoc through a filtering classloader to render markdown documents, even with custom classpath.

cc @tgodzik @olafurpg @ckipp01

keynmol commented 6 months ago

Thanks for approvals, I will add some very basic tests tomorrow to this PR and then we can merge.

keynmol commented 1 month ago

@tgodzik I added a basic test (after 5+ months...) - still good to go?