|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This class provides a transformation that converts Markdown formatting to HTML using the CommonMark Library.
More...
Collaboration diagram for ILIAS\Refinery\String\MarkdownFormattingToHTML: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.