markdown-extra icon indicating copy to clipboard operation
markdown-extra copied to clipboard

Allow usage of other Markdown converters than CommonMark in LeagueMarkdown

Open Pierstoval opened this issue 1 year ago • 0 comments

Since the CommonMarkConverter from League\CommonMark doesn't allow customizing the Environment class at construct-time, this simple change allows providing an instance the parent class, so we can both inject a config to the converter AND a custom list of extensions (like CommonMarkCoreExtension) via the constructor.

Pierstoval avatar Sep 25 '24 10:09 Pierstoval