Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latex 公式预览不完整 #106

Closed
qxuan512 opened this issue Jul 31, 2022 · 11 comments
Closed

latex 公式预览不完整 #106

qxuan512 opened this issue Jul 31, 2022 · 11 comments

Comments

@qxuan512
Copy link

image

\begin{aligned}
&[\theta_{11},\theta_{12}]=\text{softmax}\left(\frac{q_1k^T_1}{\sqrt{d_k}},\quad \frac{q_1k^T_2}{\sqrt{d_k}}\right)\
&[\theta_{21},\theta_{22}]=\text{softmax}\left(\frac{q_2k^T_1}{\sqrt{d_k}},\quad \frac{q_2k^T_2}{\sqrt{d_k}}\right)
\end{aligned}

@qxuan512
Copy link
Author

我退回到2.5.6 就正常显示

@cweijan
Copy link
Owner

cweijan commented Aug 28, 2022

你试下最新版, 我用你这个公式可以显示.

@qxuan512
Copy link
Author

你试下最新版, 我用你这个公式可以显示.

我试了,还是不行。。。

@qxuan512 qxuan512 reopened this Aug 28, 2022
@Jeremy-Shang
Copy link

Jeremy-Shang commented Sep 2, 2022

我也有同样的问题,貌似公式只要是两层以上就显示不完全,插件版本是最新的。macOS12.5.1

@Jeremy-Shang
Copy link

Screen Shot 2022-09-02 at 19 00 47

@cweijan
Copy link
Owner

cweijan commented Sep 2, 2022

试下刚发布的2.7.0, 升级了vditor的版本.

@clq9920
Copy link

clq9920 commented Sep 4, 2022

试下刚发布的2.7.0, 升级了vditor的版本.

还是不行
image

@clq9920
Copy link

clq9920 commented Sep 4, 2022

有对vditor的配置文件吗,使用的是katex?

@Jeremy-Shang
Copy link

版本2.7.1, math渲染为katex,但是好像还是不行,用vscode-all-markdown插件就可以成功显示。是不是我存在什么配置错误
image

@Jeremy-Shang
Copy link

找到问题了,在color theme的设置中。如果不跟随系统选择,它默认的白背景可以成功显示多行的公式,但是深色背景就不行。希望开发者可以针对这个修复一下~~
image

@cweijan
Copy link
Owner

cweijan commented Sep 15, 2022

已发布2.7.2修复.

@cweijan cweijan closed this as completed Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants