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
使用 lute.min.js中的 lute.RenderJSON() 函数返回的结果里有的数组会丢失逗号。
lute.min.js
lute.RenderJSON()
markdown 原文:
这是行内$a=b$公式
得到的结果是:
[{"flag":"Paragraph","children":[{"type":"Text","value":"这是行内"},{"type":"InlineMath","value":"a=b"}{"type":"Text","value":"公式"}]}]
在 InlineMath 和 Text 对象中间丢失了逗号,导致JSON解析错误
InlineMath
Text
返回合法的 JSON 数组
v16.13.1
The text was updated successfully, but these errors were encountered:
在 #180 中使用新的 JSON 渲染方案。
Sorry, something went wrong.
No branches or pull requests
描述问题 Describe the problem
使用
lute.min.js
中的lute.RenderJSON()
函数返回的结果里有的数组会丢失逗号。markdown 原文:
得到的结果是:
在
InlineMath
和Text
对象中间丢失了逗号,导致JSON解析错误期待的结果 Expected result
返回合法的 JSON 数组
截屏或录像 Screenshot or video
版本环境 Version environment
v16.13.1
其他信息 Other information
The text was updated successfully, but these errors were encountered: