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

Markdown support #3238

Closed
mumumilk opened this issue May 30, 2023 · 1 comment
Closed

Markdown support #3238

mumumilk opened this issue May 30, 2023 · 1 comment
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first

Comments

@mumumilk
Copy link

Problem

I'm trying to use Volar to autocomplete vue scripts within markdown files (as I'm using Vitepress), but with no success. So I'm wondering if I'm missing any configuration or if it is not supported at the moment.

image

What I've tried so far:

  • Added the markdown files in the include prop in tsconfig
  • Enabled the Vue > Server > Vite Press: Support Md File extension setting
  • Tried to listen to both Vue semantic/syntatic server message's output in vscode, but haven't found anything helpful to debug

sometimes I was able to get it working by setting the language of the document to vue then back to markdown, but this stopped happening in recent Volar versions.

Reproduction

https://stackblitz.com/edit/vitejs-vite-sxkhai?file=markdown-example.md

Env

Dep Version
Volar 1.7.8
Vue 3.3.4
Vitepress 1.0.0-beta.1
TS 5.0.4

Thanks in advance

@alephpi
Copy link

alephpi commented Jun 1, 2023

encounter the same issue, hoping for investigation

@johnsoncodehk johnsoncodehk added bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first labels Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first
Projects
None yet
Development

No branches or pull requests

3 participants