diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-05 11:02:19 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-05 11:02:19 -0800 |
commit | 384db9d10dbded64e83564daa4c51dac05674a2b (patch) | |
tree | 9f878ae892650ac124f073b129190d9801c3e4a8 /vendor/pixel418/markdownify/README.md | |
parent | b2ea61ea3e389cd3ca36a656e6165fb3500035e5 (diff) | |
parent | 5d8b0acc167a8028d3476ba468223da8c6f1a276 (diff) | |
download | volse-hubzilla-384db9d10dbded64e83564daa4c51dac05674a2b.tar.gz volse-hubzilla-384db9d10dbded64e83564daa4c51dac05674a2b.tar.bz2 volse-hubzilla-384db9d10dbded64e83564daa4c51dac05674a2b.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'vendor/pixel418/markdownify/README.md')
-rw-r--r-- | vendor/pixel418/markdownify/README.md | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/vendor/pixel418/markdownify/README.md b/vendor/pixel418/markdownify/README.md new file mode 100644 index 000000000..8855b0d05 --- /dev/null +++ b/vendor/pixel418/markdownify/README.md @@ -0,0 +1,63 @@ +# 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) +[![License LGPL](https://poser.pugx.org/pixel418/markdownify/license)](https://opensource.org/licenses/lgpl-2.1.php) + +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('<h1>Heading</h1>'); +// Returns: # Heading +``` + +### Markdown Extra [as defined by @michelf](http://michelf.ca/projects/php-markdown/extra/) + +```php +$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.<br> +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** branch + +If 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 [LGPL License](http://opensource.org/licenses/LGPL-2.1)<br> +It was created by [Milian Wolff](http://milianw.de)<br> +It was converted to a Symfony Bundle by [Peter Kruithof](https://github.com/pkruithof)<br> +It is maintained by [Thomas ZILLIOX](http://tzi.fr) |