Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Hyde\Markdown\Contracts; |
6 | |
7 | /** |
8 | * Process Markdown after it is converted to HTML. |
9 | * |
10 | * @see \Hyde\Markdown\Contracts\MarkdownPreProcessorContract for pre-processing |
11 | */ |
12 | interface MarkdownPostProcessorContract |
13 | { |
14 | /** |
15 | * @param string $html HTML to be processed |
16 | * @return string $html Processed HTML output |
17 | */ |
18 | public static function postprocess(string $html): string; |
19 | } |