function convert($txt) {
		$txt=preg_replace_callback(
			'/(<code.*?>.+?<\/code>|'.
			'<[^>\n]+>|\([^\n\)]+\)|"[^"\n]+")|'.
			'\\\\(.)/s',
			function($expr) {
				// Process escaped characters
				return empty($expr[1])?$expr[2]:$expr[1];
			},
			$this->build(preg_replace('/\r\n|\r/',"\n",$txt))
		);
		return $this->snip($txt);
	}
function convert($txt) {
		$txt=preg_replace_callback(
			'/(<code.*?>.+?<\/code>|'.
			'<[^>\n]+>|\([^\n\)]+\)|"[^"\n]+")|'.
			'\\\\(.)/s',
			function($expr) {
				// Process escaped characters
				return empty($expr[1])?$expr[2]:$expr[1];
			},
			$this->build(preg_replace('/\r\n|\r/',"\n",$txt))
		);
		return $this->snip($txt);
	}
function convert ( $ txt ) { $ txt = preg_replace_callback ( '/(<code.*?>.+?<\/code>|' . '<[^>\n]+>|\([^\n\)]+\)|"[^"\n]+")|' . '\\\\(.)/s' , function ( $ expr ) { // Process escaped characters return empty ( $ expr [ 1 ] ) ? $ expr [ 2 ] : $ expr [ 1 ] ; } , $ this -> build ( preg_replace ( '/\r\n|\r/' , "\n" , $ txt ) ) ) ; return $ this -> snip ( $ txt ) ; }
Render HTML equivalent of markdown
@return string
@param $txt string
Render HTML equivalent of markdown