mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
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
library/vendor/Parsedown
3
library/vendor/Parsedown/.gitignore
vendored
3
library/vendor/Parsedown/.gitignore
vendored
@ -1,3 +0,0 @@
|
||||
.DS_Store
|
||||
.idea
|
||||
nbproject
|
2204
library/vendor/Parsedown/Parsedown.php
vendored
2204
library/vendor/Parsedown/Parsedown.php
vendored
File diff suppressed because it is too large
Load Diff
31
library/vendor/Parsedown/README.md
vendored
31
library/vendor/Parsedown/README.md
vendored
@ -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>
|
||||
```
|
6
library/vendor/Parsedown/SOURCE
vendored
Normal file
6
library/vendor/Parsedown/SOURCE
vendored
Normal file
@ -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
library/vendor/Parsedown/VERSION.txt
vendored
1
library/vendor/Parsedown/VERSION.txt
vendored
@ -1 +0,0 @@
|
||||
0.8.3
|
Loading…
x
Reference in New Issue
Block a user