You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```ts twoslash
// ---cut---const hi ="Hi"asconst;
```
repro.mdx
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
<Tabs>
<TabItemvalue="val"label="Label">
```ts twoslash
// ---cut---const hi ="Hi"asconst;
```
</TabItem>
</Tabs>
I would expect the TypeScript code to be highlighted the same way in both files. Instead, I see this:
Can you also reproduce this behavior, or is it just something with my local setup? 😅 Would you expect the twoslahs plug to work for both MD and MDX files?
The text was updated successfully, but these errors were encountered:
Given the mdx vscode extension and the Twoslash VS code extension are both installed, these two files, and a docusaurus 2.0 setup with
mdx
:repro.md
repro.mdx
I would expect the TypeScript code to be highlighted the same way in both files. Instead, I see this:
Can you also reproduce this behavior, or is it just something with my local setup? 😅 Would you expect the twoslahs plug to work for both MD and MDX files?
The text was updated successfully, but these errors were encountered: