We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
下面是我对于math的MathJax渲染设置,这里我设置禁止右键上下文菜单enableMenu: false,但是不生效,应该是MathJax版本太低的原因。
enableMenu: false,
Vditor.mathRender(previewElement, { math: { inlineDigit: true, engine: "MathJax", macros:{ options: { // 隐藏右键菜单 enableMenu: false, }, startup: { typeset: true, }, // 配置解析式定位符 tex: { inlineMath: [['$', '$'], ['\\(', '\\)']], displayMath: [ ['$$','$$'], ["\\[","\\]"] ], equationNumbers: { autoNumber: 'AMS' }, }, svg: { fontCache: 'global' }, } } })
The text was updated successfully, but these errors were encountered:
是要禁用公式上右键弹出的下图内容么?
Sorry, something went wrong.
不是,是这个
宏对应传入的是 tex 下的,其他参数目前不支持
tex: { macros: options.math.macros, }, Vditor.mathRender(previewElement, { math: { inlineDigit: true, engine: "MathJax", macros: { inlineMath: [['$', '$'], ['\\(', '\\)']], displayMath: [['$$', '$$'], ["\\[", "\\]"]], equationNumbers: {autoNumber: 'AMS'}, } } })
好的
554e5b5
Vanessa219
No branches or pull requests
下面是我对于math的MathJax渲染设置,这里我设置禁止右键上下文菜单
enableMenu: false,
但是不生效,应该是MathJax版本太低的原因。The text was updated successfully, but these errors were encountered: