commonmark-java icon indicating copy to clipboard operation
commonmark-java copied to clipboard

FR: Add all extensions by adding single dependency

Open linarkou opened this issue 2 months ago • 2 comments

Is your feature request related to a problem? Please describe. I have to add 10 dependencies to support all extensions.

Describe the solution you'd like I want to add all available extensions using single dependency, and also configure all of them with single line of code.

I want something like Jackson library have with their ObjectMapper::findAndRegisterModules https://javadoc.io/doc/com.fasterxml.jackson.core/jackson-databind/latest/com/fasterxml/jackson/databind/ObjectMapper.html#findAndRegisterModules

linarkou avatar Nov 05 '25 08:11 linarkou

您好!邮件已收到。

boyshell avatar Nov 05 '25 08:11 boyshell

Are you sure you want all extensions, e.g. the YAML one too? And every time we add a new extension you'd automatically want it? I don't think we should do that.

Maybe having a "github" one would make sense though, which pulls in all the GitHub ones. I'll leave the issue open if someone wants to contribute that.

(On automatically finding extensions by classpath, IMO not a good idea.)

robinst avatar Dec 07 '25 03:12 robinst