/** * Runs $text through a Markdown translator, then a SmartyPants translator, * returning the translated text. * * @param string $text The text to translate. * @return string The translated text. * @access public * @static */ public static function smartdown($text) { $result = BedrockString::markdown($text); $result = BedrockString::smartypants($result); return $result; }
/** * Runs $text through a SmartyPants translator, returning the translated text. * * @param string $text The text to translate. * @return string The translated text. * @access public */ public function smartypants($text) { return BedrockString::smartypants($text); }