The HTML to Markdown converter for PHP
The HTML to Markdown converter for PHP
Code example | How to Install | How to Contribute | Author & Community
$converter = new Markdownify\Converter;
$converter->parseString('<h1>Heading</h1>');
// Returns: # Heading
$converter = new Markdownify\ConverterExtra;
$converter->parseString('<h1 id="md">Heading</h1>');
// Returns: # Heading {#md}
This library package requires PHP 5.4
or later.
Install Composer and run the following command to get the latest version:
composer require pixel418/markdownify
If you don't know much about pull request, you can read the Github article
Markdownify is under MIT License
It was created by Milian Wolff
It was converted to a Symfony Bundle by Peter Kruithof
It is maintained by Thomas ZILLIOX