Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Elephant418/Markdownify
The HTML to Markdown converter for PHP
https://github.com/Elephant418/Markdownify
html markdown markdown-converter markdownify php
Last synced: 2 days ago
JSON representation
The HTML to Markdown converter for PHP
- Host: GitHub
- URL: https://github.com/Elephant418/Markdownify
- Owner: Elephant418
- License: mit
- Created: 2013-05-10T23:15:00.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-06-12T14:55:06.000Z (5 months ago)
- Last Synced: 2024-10-31T09:11:37.131Z (13 days ago)
- Topics: html, markdown, markdown-converter, markdownify, php
- Language: PHP
- Homepage:
- Size: 206 KB
- Stars: 192
- Watchers: 13
- Forks: 41
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Markdownify
[![Build Status](https://travis-ci.org/Elephant418/Markdownify.png?branch=master)](https://travis-ci.org/Elephant418/Markdownify?branch=master)
[![Total Downloads](https://poser.pugx.org/pixel418/markdownify/downloads)](https://packagist.org/packages/pixel418/markdownify)
[![MIT](https://poser.pugx.org/pixel418/markdownify/license)](https://opensource.org/licenses/MIT)The HTML to Markdown converter for PHP
[Code example](#code-example) | [How to Install](#how-to-install) | [How to Contribute](#how-to-contribute) | [Author & Community](#author--community)
Code example
--------### Markdown
```php
$converter = new Markdownify\Converter;
$converter->parseString('Heading
');
// Returns: # Heading
```### Markdown Extra [as defined by @michelf](http://michelf.ca/projects/php-markdown/extra/)
```php
$converter = new Markdownify\ConverterExtra;
$converter->parseString('Heading
');
// Returns: # Heading {#md}
```How to Install
--------This library package requires `PHP 5.4` or later.
Install [Composer](http://getcomposer.org/doc/01-basic-usage.md#installation) and run the following command to get the latest version:```sh
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** branchIf you don't know much about pull request, you can read [the Github article](https://help.github.com/articles/using-pull-requests)
Author & Community
--------Markdownify is under [MIT License](https://opensource.org/licenses/MIT)
It was created by [Milian Wolff](http://milianw.de)
It was converted to a Symfony Bundle by [Peter Kruithof](https://github.com/pkruithof)
It is maintained by [Thomas ZILLIOX](https://tzi.fr)