emersonbottero / vitepress-plugin-mermaid

Add mermaid support for Vitepress
MIT License
95 stars 22 forks source link

VSCode IntelliSense lost after switching to `withMermaid()` helper #59

Closed sagargurtu closed 1 year ago

sagargurtu commented 1 year ago

As in the title. VSCode IntelliSense is lost after switching from defineConfig() to withMermaid() helper. Code complete suggestions no longer show up and unsupported properties can be freely added to the config.

emersonbottero commented 1 year ago

Is working for me.. image

try https://github.com/emersonbottero/vitepress-demo2

sagargurtu commented 1 year ago

I can't seem to reproduce the issue with latest version of vitepress. I had an older version of vitepress in my project when I faced this. I'll go ahead and close this issue.