Skip to content

Commit

Permalink
Polish the README
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Siewertsen committed Mar 8, 2021
1 parent f3e889f commit 7ce7ac5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The output would look like this
```

#### Multiple styles
Define multiple styles in your config.
Define multiple styles in your config, so you can switch between them and use different stylings in different places of your application.

```php
// config/markdown.php
Expand All @@ -67,9 +67,9 @@ Define multiple styles in your config.
...
```

Define `style` on your facade to switch between styles.
Define `style` to switch between styles.
```php
Markdown::style('wiki')->parse($yourContent); // The outpul will be HTML
Markdown::style('wiki')->parse($yourContent);
```

No need to define default. If nothing has been provied, markdown will look for the default style.
Expand Down

0 comments on commit 7ce7ac5

Please sign in to comment.