class
League
/
CommonMark
/
Xml
/
MarkdownToXmlConverter
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
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()