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
No description provided.
The text was updated successfully, but these errors were encountered:
方法一:简单粗暴,用正则匹配替换成所需格式,行内$latex$或者块级$$latex$$
str.replace(/\\\(\s*(.*?)\s*\\\)/g, "$$$1$$") // 行公式规则转换 .replace(/\\\[\s*(.*?)\s*\\\]/g, "$$$$$1$$$$") // 块公式规则转换
方法二: 改源码这里的匹配逻辑 towxml/parse/markdown/plugins/latex.js 会涉及到转义字符,还需要改移动的步数
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: