processMarkdownContent only moved $$ onto their own lines when the whole
block fit on one line. $$a \\\\ ... $$ spread over several lines kept its
fences glued to the formula and remark-math left it as text. Now a line
that opens with a lone $$ is matched to the next line ending in $$ and both
fences are put on their own lines; blank lines stop the search.