Open Joshua1989 opened 7 years ago
I was looking forward for tikz support in the long run. This may take a while and needs a syntax update to support tikz with a special scope. I didn't have tabulars in mind, but will think about it.
It would also be nice to have math rendering for own environments. For example, I have a custom equation environment (essentially a wrapper around equation and tikz-cd for commutative diagrams) and the preview is not working for them.
If you have your own math environment you just need to edit the syntax file and add it there. For several reasons the preview is based on the scopes of the underlaying syntax file, so you need to edit that.
@r-stein, Will this be overwritten every time Latextools updates?
No the LaTeX syntax is inside the LaTeX package which is shipped within sublime text itself. It won't automatically be overwritten.
Now the live previewing works neatly, so I think it would be great to implement similar functions for tabulars and pgf/tikz blocks. One thing need more consideration is that there may be equation and images inside those blocks.