1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Show importing of Parsedown and State in example

This commit is contained in:
Aidan Woods 2021-12-08 20:28:22 +00:00
parent 6fdcfaa14a
commit bf6cfe8af0
No known key found for this signature in database
GPG Key ID: AC457CCE59E739F2

View File

@ -68,6 +68,8 @@ functionality from different authors as they like. For example, a feature of Par
A user could import *only* the abbreviations feature from ParsedownExtra by using the following:
```php
use Erusev\Parsedown\State;
use Erusev\Parsedown\Parsedown;
use Erusev\ParsedownExtra\Features\Abbreviations;
$State = Abbreviations::from(new State);