Comments (4)
你使用的是LaTeX渲方式KaTeX还是MathJaX?
from vscode-markdown-preview-enhanced.
你使用的是LaTeX渲方式KaTeX还是MathJaX?
上面的问题是用katex下出现的, 我切换到mathjax又试了一下, 在mathjax下预览时公式可以正确预览
我以前没有改过这个参数, 所以以前应该一直都是katex的渲染方式, 我也试过降低版本但是也没有解决这个问题.
不过我又尝试了选择none
这个选项, 目前是能够正确预览和导出的, 所以我猜想会不会是和我本机安装的一些东西冲突导致的 (最近刚安装了MiKTeX, 而且用其他插件比如markdown pdf导出也是无法正确缺渲染公式)
from vscode-markdown-preview-enhanced.
如果你是用Puppeter导出的,这可能是因为MathJax的脚本处理公式需要一定的时间,你可以给Chrome Puppeter设置一个导出延时,具体方法是更改一个名为markdown-preview-enhanced.puppeteerWaitForTimeout
的设置项(单位为毫秒),然后选一个合适的值,大约3000 - 5000左右。或者选择用浏览器打开,然后在浏览器中等待公式渲染完毕后,点击打印,选择保存为PDF
from vscode-markdown-preview-enhanced.
如果你是用Puppeter导出的,这可能是因为MathJax的脚本处理公式需要一定的时间,你可以给Chrome Puppeter设置一个导出延时,具体方法是更改一个名为
markdown-preview-enhanced.puppeteerWaitForTimeout
的设置项(单位为毫秒),然后选一个合适的值,大约3000 - 5000左右。或者选择用浏览器打开,然后在浏览器中等待公式渲染完毕后,点击打印,选择保存为PDF
太感谢了, 目前看来是没有问题了, 设置了延时以后用mathjax也可以正常导出了
from vscode-markdown-preview-enhanced.
Related Issues (20)
- Undefined line breaks [BUG] HOT 1
- the issue preview used sql-file HOT 1
- [Feature Request] 现在粘贴图片的时候会直接放在当前文件的同级目录,想问一下是否能到粘贴图片的时候粘贴到某个指定文件夹中? HOT 1
- [Feature Request] .crossnote 配置中 style.less 和 headhead.html 文件导入本地 css 文件和 js 文件会因为安全策略导致请求失败
- [Feature Request] 希望 Code Block Theme 的选项可以新增 None 或允许用户编写自己的 Code Block Theme 样式表
- [Feature Request] 是否可以在导出中加入灯箱功能
- [BUG] Including ToC links will result in ENOENT errors when converting to ePub
- [BUG] Backlinks aren't recognized in documents when they have a header
- [Feature Request] 如何保存完整的FAQ到本地?
- [BUG] incorrectly when import section of a markdown file mutiple times or nested
- [BUG] Preview功能出现严重BUG!
- [BUG] Error: Failed to launch the browser process! HOT 1
- [BUG] Preview breaks when switching editor vindow and going back to preview
- [BUG] The anchor tag includes unnecessary characters and attributes.
- [Feature Request] preview the (ka-)tex inside html blocks
- [Feature Request] editble live preview HOT 1
- 显示不了图片 HOT 1
- [BUG] Use a combination of tab indentation and three backticks to nest snippets. HOT 1
- [Feature Request] mermaid 和graphviz渲染图缩放 (Zoom support)
- [BUG]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-markdown-preview-enhanced.