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:
composer require ccoley/laravel-markdown
After updating composer, add the service provider to the `providers` array in `config/app.php`
If you want to use the `Markdown` facade, you need to add it to the `aliases` array in `config/app.php`
'Markdown' => Coley\Markdown\MarkdownFacade::class
## Example
// 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]: "Official Parsedown Website"
[2]: "GFM Help"
[3]: "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