ILIAS
trunk Revision v11.0_alpha-1846-g895b5f47236
|
This class provides a transformation that converts Markdown formatting to HTML using the CommonMark
Library.
More...
Public Member Functions | |
__construct (bool $escape=true) | |
toHTML () | |
Returns the converted Markdown with HTML tags. More... | |
Private Attributes | |
League CommonMark CommonMarkConverter | $converter |
This class provides a transformation that converts Markdown formatting to HTML using the CommonMark
Library.
Definition at line 28 of file MarkdownFormattingToHTML.php.
ILIAS\Refinery\String\MarkdownFormattingToHTML::__construct | ( | bool | $escape = true | ) |
Definition at line 32 of file MarkdownFormattingToHTML.php.
ILIAS\Refinery\String\MarkdownFormattingToHTML::toHTML | ( | ) |
Returns the converted Markdown with HTML tags.
Definition at line 49 of file MarkdownFormattingToHTML.php.
|
private |
Definition at line 30 of file MarkdownFormattingToHTML.php.