streams/vendor/pixel418/markdownify
Klaus Weidenbach 6c79e0c077 ⬆️ 🔨 Upgrade Markdownify library.
The current version 2.0.0 (alpha) throws deprecated warning with
PHP7.1 and PHPUnit.
Upgrade the HTML to Markdown converter for PHP to the current
Markdownify 2.2.1.
Used composer to manage this library.
2017-03-05 01:14:15 +01:00
..
src ⬆️ 🔨 Upgrade Markdownify library. 2017-03-05 01:14:15 +01:00
CHANGELOG.md ⬆️ 🔨 Upgrade Markdownify library. 2017-03-05 01:14:15 +01:00
composer.json ⬆️ 🔨 Upgrade Markdownify library. 2017-03-05 01:14:15 +01:00
LICENSE ⬆️ 🔨 Upgrade Markdownify library. 2017-03-05 01:14:15 +01:00
README.md ⬆️ 🔨 Upgrade Markdownify library. 2017-03-05 01:14:15 +01:00

Markdownify

Build Status Total Downloads License LGPL

The HTML to Markdown converter for PHP

Code example | How to Install | How to Contribute | Author & Community

Code example

Markdown

$converter = new Markdownify\Converter;
$converter->parseString('<h1>Heading</h1>');
// Returns: # Heading

Markdown Extra as defined by @michelf

$converter = new Markdownify\ConverterExtra;
$converter->parseString('<h1 id="md">Heading</h1>');
// Returns: # Heading {#md}

How to Install

This library package requires PHP 5.3 or later.
Install Composer and run the following command to get the latest version:

composer require pixel418/markdownify

How to Contribute

  1. Fork the Markdownify repository
  2. Create a new branch for each feature or improvement
  3. Send a pull request from each feature branch to the v2.x branch

If you don't know much about pull request, you can read the Github article

Author & Community

Markdownify is under LGPL License
It was created by Milian Wolff
It was converted to a Symfony Bundle by Peter Kruithof
It is maintained by Thomas ZILLIOX