refactoring for lexing of simple code blocks, fenced code blocks, and blockquotes