Writing LaTeX inside markdown

My preference is to use ${tex`t`} within Markdown or HTML literals. But if you find that tedious, you could use a wrapper like the following that uses $t$ for something like math mode.

2 Likes