public function convert($input)
    {
        if (is_string($input) === false) {
            throw new \InvalidArgumentException('Expected a string value at Parsedown converter.');
        }

        $converter = new \ParsedownExtra();

        return $converter->text($input);
    }
public function convert($input)
    {
        if (is_string($input) === false) {
            throw new \InvalidArgumentException('Expected a string value at Parsedown converter.');
        }

        $converter = new \ParsedownExtra();

        return $converter->text($input);
    }
public function convert ( $ input ) { if ( is_string ( $ input ) === false ) { throw new \ InvalidArgumentException ( 'Expected a string value at Parsedown converter.' ) ; } $ converter = new \ ParsedownExtra ( ) ; return $ converter -> text ( $ input ) ; }
Convert the input data.

@param string $input The raw content without Front-matter

@return string
Convert the input data .