-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Import statement is not highlighted #471
Comments
Hi @ChristianMurphy, yes I'm running v1.8.10 |
Thanks for double checking, could you share the output from
as well as share the text you are editing (or a minimal anonymized version of it) in a codeblock? |
|
/src/content/posts/post-1.mdx
|
Which version of VSCode are you using? |
This doesn’t happen normally btw, you can try it out here: https://wooorm.com/markdown-tm-language/. That’s why we’re wondering what’s up with your stack! Or here on GH, which uses the same grammar: ---
author: { id: 87820884, name: "Lindsay Singleton", avatar: "/src/images/LindsaySingleton.jpg" }
topics: [{ id: 84596441, name: "Travel" }]
---
import VfTopics from "@/components/VfTopics.astro";
Simply post a message in the Conversations area below and Lindsday will reply to you asap. Please try to keep the questions specific to all things travel.
<VfTopics author={frontmatter.author} topics={frontmatter.topics} />
<div id="vf-conversations-container">
<vf-conversations></vf-conversations>
</div> |
@ChristianMurphy thanks for investigating, my issue was with the file association setting in vscode, but this fixed the issue
|
Initial checklist
Affected packages and versions
latest
Link to runnable example
No response
Steps to reproduce
Create an mdx file in an astro project and use an import statement
Expected behavior
The import statement should be highlighted
Actual behavior
The import looks as regular markdown
Runtime
Node v20
Package manager
npm v10
OS
macOS
Build and bundle tools
Other (please specify in steps to reproduce)
The text was updated successfully, but these errors were encountered: