Upgrade Parsedown to 1.0.0-rc.4
Please note that this invalidates my img size patch, I forgot to bring it upstream. Still TBD. refs #6165
This commit is contained in:
parent
03e8ba88e4
commit
1190a8959f
|
@ -1,3 +0,0 @@
|
|||
.DS_Store
|
||||
.idea
|
||||
nbproject
|
File diff suppressed because it is too large
Load Diff
|
@ -1,31 +0,0 @@
|
|||
## Parsedown
|
||||
|
||||
Better [Markdown](http://en.wikipedia.org/wiki/Markdown) parser for PHP.
|
||||
|
||||
***
|
||||
|
||||
[ [demo](http://parsedown.org/demo) ] [ [tests](http://parsedown.org/tests/) ]
|
||||
|
||||
***
|
||||
|
||||
### Features
|
||||
|
||||
* [fast](http://parsedown.org/speed)
|
||||
* [consistent](http://parsedown.org/consistency)
|
||||
* [GitHub Flavored](https://help.github.com/articles/github-flavored-markdown)
|
||||
* friendly to international input
|
||||
* [tested](https://travis-ci.org/erusev/parsedown) in PHP 5.2, 5.3, 5.4, 5.5 and [hhvm](http://www.hhvm.com/)
|
||||
|
||||
### Installation
|
||||
|
||||
Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown).
|
||||
|
||||
### Example
|
||||
|
||||
```php
|
||||
$text = 'Hello _Parsedown_!';
|
||||
|
||||
$result = Parsedown::instance()->parse($text);
|
||||
|
||||
echo $result; # prints: <p>Hello <em>Parsedown</em>!</p>
|
||||
```
|
|
@ -0,0 +1,6 @@
|
|||
RELEASE=1.0.0-rc.4
|
||||
FILENAME=parsedown-$RELEASE
|
||||
DESTINATION=.
|
||||
wget -O ${FILENAME}.tar.gz https://github.com/erusev/parsedown/archive/${RELEASE}.tar.gz
|
||||
tar xfz ${FILENAME}.tar.gz -C $DESTINATION/ --strip-components 1 $FILENAME/Parsedown.php $FILENAME/LICENSE.txt
|
||||
chmod 644 $DESTINATION/Parsedown.php
|
|
@ -1 +0,0 @@
|
|||
0.8.3
|
Loading…
Reference in New Issue