class
League
/
CommonMark
/
Xml
/
MarkdownToXmlConverter
final
MarkdownToXmlConverter
Implements
Properties
private
$parser
Default: null
private
$renderer
Default: null
Methods
public
__construct ( EnvironmentInterface $environment ) : void
public
convert ( string $input ) : void
Converts Markdown to XML
public
__invoke ( string $input ) : void
Converts CommonMark to HTML.
See
- \MarkdownToXmlConverter::convert()