Skip to content

martinstuecklschwaiger/html2markdown

Repository files navigation

HTML to Markdown

PHP class for converting HTML to Markdown.

Build Status Latest Stable Version Total Downloads Scrutinizer Quality Score

Development stage

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.

Installation

  1. Download the composer.phar executable or use the installer.

    curl -sS https://getcomposer.org/installer | php
  2. Create a composer.json defining your dependencies.

    {
    	"require": {
    		"thefox/html2markdown": ">=0.1.0"
    	}
    }
  3. Run Composer:

    php composer.phar install

Browse for more packages on Packagist.

Contributors

Markdown documentation

http://daringfireball.net/projects/markdown/

License

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/.

About

PHP class for converting HTML to Markdown.

Resources

License

Stars

Watchers

Forks

Packages

No packages published