Avoid converting “>” to >
Filtering the_content function wpse72941_content_filter( $content ) { $new_content=””; foreach( preg_split( ‘/((\r?\n)|(\r\n?))/’, $content ) as $line ) { $new_content .= preg_replace( ‘/^>/’, ‘>’, $line ) . ‘\r\n’; } return $new_content; } add_filter( ‘the_content’, ‘wpse72941_content_filter’, 1 ); I don’t know your markdown plugin – for the above approach, I have assumed that the markdown is interpreted after … Read more