Pattern for matching Markdown blockquote blocks
%r{ (?: ^[ ]*>[ ]? # '>' at the start of a line .+\n # rest of the first line (?:.+\n)* # subsequent consecutive lines \n* # blanks )+ }x
<code/>
<pre/>
<code/>and<pre/>for code samples.