| 1 | <?php |
||
| 17 | class MarkdownParser |
||
| 18 | { |
||
| 19 | /** @var \Closure[] */ |
||
| 20 | private static $extensions; |
||
| 21 | |||
| 22 | /** @var \League\CommonMark\CommonMarkConverter */ |
||
| 23 | private $converter; |
||
| 24 | |||
| 25 | public static function extension(Closure $closure): void |
||
| 29 | |||
| 30 | public function __construct(ImageFactory $imageFactory) |
||
| 44 | |||
| 45 | public function parse(string $markdown): string |
||
| 49 | } |
||
| 50 |