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
3declare(strict_types=1);
4
5namespace Hyde\Markdown\Contracts;
6
7/**
8 * Process Markdown before it is converted to HTML.
9 *
10 * @see \Hyde\Markdown\Contracts\MarkdownPostProcessorContract for post-processing
11 */
12interface MarkdownPreProcessorContract
13{
14    /**
15     * @param  string  $markdown  Markdown to be processed
16     * @return string $markdown Processed Markdown output
17     */
18    public static function preprocess(string $markdown): string;
19}