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:
parent
6fdcfaa14a
commit
bf6cfe8af0
@ -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:
|
A user could import *only* the abbreviations feature from ParsedownExtra by using the following:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
|
use Erusev\Parsedown\State;
|
||||||
|
use Erusev\Parsedown\Parsedown;
|
||||||
use Erusev\ParsedownExtra\Features\Abbreviations;
|
use Erusev\ParsedownExtra\Features\Abbreviations;
|
||||||
|
|
||||||
$State = Abbreviations::from(new State);
|
$State = Abbreviations::from(new State);
|
||||||
|
Loading…
Reference in New Issue
Block a user