diff --git a/README.md b/README.md index 78ad1fdf7b864818289d49bd4a8216fd2d41e883..cccabba011728cd7edeec075dcd7f49d0d06d523 100644 --- a/README.md +++ b/README.md @@ -16,19 +16,19 @@ 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_!');