kartik\markdown\Markdown::customProcess PHP Method

customProcess() public static method

Custom conversion of patterns
public static customProcess ( string $content, array $config = [] ) : string
$content string
$config array . List of key value pairs to find and replace
return string
    public static function customProcess($content, $config = [])
    {
        if (empty($config)) {
            return $content;
        }
        return strtr($content, $config);
    }