1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

improve readme

This commit is contained in:
Emanuil Rusev 2014-01-17 01:33:20 +02:00
parent 149b687ee7
commit fee5b71998

View File

@ -14,7 +14,7 @@ Better [Markdown](http://en.wikipedia.org/wiki/Markdown) parser for PHP.
* [consistent](http://parsedown.org/consistency) * [consistent](http://parsedown.org/consistency)
* [GitHub Flavored](https://help.github.com/articles/github-flavored-markdown) * [GitHub Flavored](https://help.github.com/articles/github-flavored-markdown)
* friendly to international input * friendly to international input
* [tested](https://travis-ci.org/erusev/parsedown) in PHP 5.2, 5.3, 5.4 and 5.5 as well as in [HHVM](http://www.hhvm.com/) * [tested](https://travis-ci.org/erusev/parsedown) in PHP 5.2, 5.3, 5.4, 5.5 and [hhvm](http://www.hhvm.com/)
### Installation ### Installation
@ -23,9 +23,9 @@ Include `Parsedown.php` or install [the composer package](https://packagist.org/
### Example ### Example
```php ```php
$text = 'Hello **Parsedown**!'; $text = 'Hello _Parsedown_!';
$result = Parsedown::instance()->parse($text); $result = Parsedown::instance()->parse($text);
echo $result; # prints: <p>Hello <strong>Parsedown</strong>!</p> echo $result; # prints: <p>Hello <em>Parsedown</em>!</p>
``` ```