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.
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