Skip to content
New issue

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

[BUG] vega-lite图表在reveal.js幻灯片中无法正常显示 #1880

Closed
vanleefxp opened this issue Nov 12, 2023 · 1 comment
Closed

[BUG] vega-lite图表在reveal.js幻灯片中无法正常显示 #1880

vanleefxp opened this issue Nov 12, 2023 · 1 comment
Assignees
Labels

Comments

@vanleefxp
Copy link

我正在使用Markdown Preview Enhanced插件的幻灯片功能来制作幻灯片,我在幻灯片中需要插入vega-lite图表来展示数据,但是原本在markdown文档中可以正常显示的vega-lite图表跑到幻灯片里的时候就不能正常显示了。

当我从外部导入一个.json文件作为vega-lite图表的数据时,相应的位置出现了如下错误信息:

SyntaxError: Unexpected number in JSON at position 3

而这个图表在普通的markdown文档中预览是完全没有问题的。下面两幅图分别是在reveal.js中和普通markdown文档中的效果

Code_qKZ5VGwm0g

Code_LrRywenSX0

@shd101wyy
Copy link
Owner

应该已经修复了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants