We might consider extracting this into an extension, but TextFormatter does syntax highlighting for code blocks by default in live previews anyway. closes #248