如何在Sublime Text Markdown Preview中启用MathJax渲染 [英] How to Enable MathJax Rendering in Sublime Text Markdown Preview
问题描述
使用Sublime Text 3,我正在编写一个包含数学的Markdown文档. Markdown预览包可在浏览器(Chrome)中实时呈现文档.因此,在我撰写本文时,这些更改是可见的.以下是我的降价文字.
Using Sublime Text 3, I'm writing a Markdown document that includes math. The Markdown Preview package enables real-time rendering of the document in the browser (Chrome). So as I write, the changes are visible. The following is my markdown text.
$a = \sin^{2}(\Delta \phi/2) + \cos(\phi_{1})\cos(\phi_{2})\sin^{2}(\Delta \lambda/2)$
$c = 2 \arcsin(\sqrt{a})$
$d = rc$
MarkdownPreview手册说类似当enable_mathjax
是true
时"之类的内容,但是我无法弄清楚它在哪里.为了完整起见,Sublime控制台不会显示任何错误消息.我正在使用Windows 7和从Git获取的最新MathJax.当我显示一些示例测试html时,MathJax本身可以正常工作.
MarkdownPreview manual says something like "When enable_mathjax
is true
", but I cannot figure it out where it is. For completeness, The Sublime console does not display any error message. I'm using Windows 7 and the lastest MathJax fetched from Git. MathJax itself works fine when I displayed some sample test html.
推荐答案
提供MarkdownPreview的安装正确,可以这样找到选项enable_mathjax
:
Providing MarkdownPreview is installed correctly, one can find option enable_mathjax
this way:
希望这会有所帮助.
这篇关于如何在Sublime Text Markdown Preview中启用MathJax渲染的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!