You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for the configuration options that can be passed to League\CommonMark\CommonMarkConverter::__construct and Environment, but can't find that anywhere in the docs, source docs, or tests.
Am I missing something?
The only other reference I can find is #42, but I can't believe that's an exhaustive list.
The text was updated successfully, but these errors were encountered:
There simply hasn't been a need to configure additional settings, but the mechanism is there should we need it. #42 demonstrates some examples of how we could expand the configuration in the future. In addition, it's entirely possible for custom extensions to define their own configuration options as needed.
I'm definitely open to any ideas or PRs you have for new configuration options.
I'll keep this issue open until the current options have been documented properly.
Unfortunately that is not currently configurable. If you want to escape all HTML output, I'd think that excluding the HTML parsers (HtmlBlockParser and RawHtmlParser) from your environment would work. (I wonder what would happen if you only excluded one and not the other - that might be something to play with.)
I think having a configuration option for HTML is a fantastic idea though, and it's definitely something I'd want to have implemented before a v1.0 release.
I'm looking for the configuration options that can be passed to League\CommonMark\CommonMarkConverter::__construct and Environment, but can't find that anywhere in the docs, source docs, or tests.
Am I missing something?
The only other reference I can find is #42, but I can't believe that's an exhaustive list.
The text was updated successfully, but these errors were encountered: