public function markdown($text)
    {
        $text = \Michelf\MarkdownExtra::defaultTransform($text);
        $text = \Michelf\SmartyPantsTypographer::defaultTransform(
            $text,
            "2"
        );
        return $text;
    }
public function markdown($text)
    {
        $text = \Michelf\MarkdownExtra::defaultTransform($text);
        $text = \Michelf\SmartyPantsTypographer::defaultTransform(
            $text,
            "2"
        );
        return $text;
    }
public function markdown ( $ text ) { $ text = \ Michelf \ MarkdownExtra :: defaultTransform ( $ text ) ; $ text = \ Michelf \ SmartyPantsTypographer :: defaultTransform ( $ text , "2" ) ; return $ text ; }
Format text according to Markdown syntax.

@param string $text the text that should be formatted.

@return string as the formatted html-text.
Format text according to Markdown syntax .