Fix issue with ending fence in block quote
Track if mathjax region was found in markdown