diff --git a/README.md b/README.md index cccabba011728cd7edeec075dcd7f49d0d06d523..76c81efe3f694941ef076804a427070fa8a5e023 100644 --- a/README.md +++ b/README.md @@ -10,25 +10,25 @@ The `Markdown` service provider included in this package uses deferred loading, Require this package with composer using the following command: -``` +```sh composer require ccoley/laravel-markdown ``` After updating composer, add the service provider to the `providers` array in `config/app.php` -``` +```php Coley\Markdown\MarkdownServiceProvider::class, ``` If you want to use the `Markdown` facade, you need to add it to the `aliases` array in `config/app.php` -``` +```php 'Markdown' => Coley\Markdown\MarkdownFacade::class ``` ## Example -``` +```php // Regular parsing. // Output: <p>Hello <em>Markdown</em>!</p> echo Markdown::text('Hello _Markdown_!'); @@ -40,6 +40,6 @@ echo Markdown::line('Hello _Markdown_!'); For more examples, or to see Parsedown configuration options, checkout the [Parsedown wiki][3]. -[1]: http://parsedown.org/ -[2]: https://help.github.com/articles/github-flavored-markdown/ -[3]: https://github.com/erusev/parsedown/wiki +[1]: http://parsedown.org/ "Official Parsedown Website" +[2]: https://help.github.com/articles/github-flavored-markdown/ "GFM Help" +[3]: https://github.com/erusev/parsedown/wiki "Parsedown Wiki"