-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
本地页面重载后白屏&关于katex的小疑惑 #308
Labels
enhancement
New feature or request
Comments
复现了,好神奇的案例。但似乎与 KaTeX 无关。 $$
i=Im[\sqrt{2}\cdot\dot{I}e^{j\omega t}]\\
u=Im[\sqrt{2}\cdot\dot{U}e^{j\omega t}]
$$ 去掉 白屏应该是另外缓存 optimizeDeps 延迟导致的,第二次启动后已经缓存,所以不再有问题,我再排查一下。 |
且仅在 windows 上可复现,macOS 没有这个问题。 |
YunYouJun
added a commit
that referenced
this issue
Dec 22, 2023
自定义 KaTeX Options 的能力是有的,补了下文档。 // valaxy.config.ts
export default defineValaxyConfig({
markdown: {
/**
* KaTeX options
* @see https://katex.org/docs/options.html
*/
katex: {
strict: false
}
}
}) |
optimizeDeps 白屏的问题也解了,更新了下加载顺序。 Released in v0.16.1.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
在本地终端运行
valaxy
命令生成的 preview 页面中,有时点击打开一篇文章后终端会提示浏览器页面就会白屏,刷新以及重载都无用,只能终止终端并重新执行
valaxy
命令,下次点击同篇文章就不会有上述现象了。下面是一次完整的运行终端输出:
另外,对于输出中的latex提示,我在搜索后发现是katex的设置中,严格模式的配置导致的,请问有相应设置项可以对此进行调节吗,翻了一下文档似乎没找到。
Reproduction
https://github.com/lkyu-ly/lkyu-blog-valaxy
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: