shd101wyy / vscode-markdown-preview-enhanced

One of the "BEST" markdown preview extensions for Visual Studio Code
https://shd101wyy.github.io/markdown-preview-enhanced
Other
1.44k stars 172 forks source link

chart disappears suddenly when using chart.js #57

Open kkppll-ss opened 6 years ago

kkppll-ss commented 6 years ago

The extension can correctly render chart.js output but when I click on the markdown editing area the rendered chart just disappears. The situation is illustrated in the gif below peek 2017-11-10 20-36 Then I switch to plotly.js, which does not have such a problem. I wonder whether the extension support other JavaScript chart libraries other than plotly.js?

kkppll-ss commented 6 years ago

I'm sorry. I thought the plotly support is bug-free but I find another bug in plotly:) Every time I click on the "run" button, another line is added to the same plot..... plotly

shd101wyy commented 6 years ago

Correct . JavaScript code chunk doesn't work very well.