brillout / vite-plugin-mdx

Vite Plugin for MDX
MIT License
115 stars 36 forks source link

TypeScript support #18

Closed xiaoxiangmoe closed 3 years ago

xiaoxiangmoe commented 3 years ago
# Hello

This text is written in Markdown. 1 + 1 = { (1 as number) + 1}

We should support ts code

silvenon commented 3 years ago

How would having TypeScript in MDX help you, considering that TypeScript cannot check it? 🤔

xiaoxiangmoe commented 3 years ago

We may use TypeScript specific syntax, such as namespaces and interfaces.

brillout commented 3 years ago

@xiaoxiangmoe But there wouldn't be any intellisense right?

brillout commented 3 years ago

Closing as this is more related to TS than vite-plugin-mdx