Commit f8952ab9 authored by Chris Coley's avatar Chris Coley
Browse files

Adding syntax hints to the README code blocks

parent 8003f566
......@@ -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"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment