Skip to content

Commit

Permalink
Update Alerts.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHoegh authored Oct 12, 2024
1 parent ae48aea commit fe914ef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions versioned_docs/version-1.3.x/Configuration/Alerts.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ $ParsedownExtended->config()->set('alerts', false);
To customize the types of alerts available in your Markdown:

```php
$ParsedownExtended->config()->set('alerts.types', [
'types' => ['note', 'warning', 'custom-type']
]);
$ParsedownExtended->config()->set('alerts.types', ['note', 'warning', 'custom-type']);
```

In this example, only `note`, `warning`, and a custom alert type `custom-type` will be recognized and rendered as alerts.

0 comments on commit fe914ef

Please sign in to comment.