Searched refs:CommonMarkConverter (Results 1 – 6 of 6) sorted by relevance
25 final class CommonMarkConverter extends MarkdownConverter20 class CommonMarkConverter extends MarkdownConverter global() class
25 The `CommonMarkConverter` class provides a simple wrapper for converting CommonMark to HTML:28 use League\CommonMark\CommonMarkConverter;30 $converter = new CommonMarkConverter([69 The `GithubFlavoredMarkdownConverter` shown earlier is a drop-in replacement for the `CommonMarkConverter` which adds additional features found in the GFM spec:
257 - The `getEnvironment()` method of `CommonMarkConverter` and `GithubFlavoredMarkdownConverter` will always return the concrete, configurable `Environment` for upgrading convenience365 - `CommonMarkConverter::convertToHtml()` now returns an instance of `RenderedContentInterface`. This can be cast to a string for backward compatibility with 1.x.492 - Removed the ability to pass custom `Environment` instances into the `CommonMarkConverter` and `GithubFlavoredMarkdownConverter` constructors511 - Removed the `CommonMarkConverter::VERSION` constant560 - Alternative 1: Use `CommonMarkConverter` or `GithubFlavoredMarkdownConverter` if you don't need to customize the environment