vscode-reveal
vscode-reveal copied to clipboard
backtick ` to escape Latex not working
The use of backtick to escape Latex code is not working in markdown
Code to replicate
- enclosed in `$ $` such as `$\sigma$` get $\sigma$
Current output
Expected output
Not sure how to fix this 🤨. Latex is parsing after all even escape is not working.
My guess is that the problem lies in how Math uses backtick to render formulas. The $ can be escaped with <span>$</span>
shown in following code. Although it is its a lot of typing if trying to show how latex is used with examples - hopefully there is an easier way to do it .
This works for inline code
<span>$</span>\sigma<span>$</span>
Or \backlash and \text as below
$`$\backslash \text{sigma}$`$
This also works, but not inline
```
$\sigma$
```
Modifying Latex above to make it inline, it does not work
``` $\sigma$ ```