You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
在编辑模式下,行内数学公式、数学公式块都显示为一个颜色,虽然易于与markdown的其他结构区分,但没有语法高亮(如下图,全是绿色的部分),不方便编辑和阅读公式代码。
Describe the solution you'd like
在编辑模式下,能否让行内数学公式、数学公式块支持对LaTeX语法的高亮,就像把它们写在代码块里那样高亮(如上图,有语法高亮的部分)。类似于VSCode里的实现(如下图)。
Describe alternatives you've considered
我试过先在```latex……```的代码块里编辑数学公式,为了利用它对语法的高亮,在编辑好公式后,再去掉代码块的分隔符,使其从代码块变为公式,但这有些麻烦;而且在代码块里编辑公式的话,虽然有了语法高亮、但是又没法用VNote对于数学公式的原地预览,顾此失彼。