PHP class for converting HTML to Markdown.
This software is in pre-alpha stage. This means it supports only <p>
, <i>
, <em>
, <b>
, <strong>
, <a>
, <img>
, <pre>
, <code>
, <br>
, <ul>
, <ol>
, <li>
, <h1>
, <h2>
, <h3>
, <h4>
, <h5>
, <del>
. Not the full Markdown specification.
-
Download the
composer.phar
executable or use the installer.curl -sS https://getcomposer.org/installer | php
-
Create a
composer.json
defining your dependencies.{ "require": { "thefox/html2markdown": ">=0.1.0" } }
-
Run Composer:
php composer.phar install
Browse for more packages on Packagist.
- Christian Mayer thefox21at@gmail.com
- Mirko Bonadei mirko.bonadei@gmail.com
http://daringfireball.net/projects/markdown/
Copyright (C) 2013 Christian Mayer (thefox21at@gmail.com - http://fox21.at)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.