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
I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
v1.8.9
Link to runnable example
No response
Steps to reproduce
As of VSCode 1.92.0, I see the following when viewing an Astro .mdx file that previously was correctly highlighted:
Here is the content of that file for reference:
---title: ArkTypedescription: TypeScript's 1:1 validator, optimized from editor to runtimetemplate: splashhero:
title: ArkTypetagline: TypeScript's 1:1 validator, optimized from editor to runtimeimage:
alt: A serene ark, sailing to runtimefile: ../../assets/splash.pngactions:
- text: Set saillink: /intro/setup/icon: right-arrowvariant: primary---import {
Card,
CardGrid,
LinkCard,
TabItem,
Tabs
} from"@astrojs/starlight/components"import {
RuntimeBenchmarksGraph,
TypeBenchmarksGraph
} from"../../components/BenchmarksGraph.tsx"importCodefrom"../../components/Code.astro"import { HeroBackdrop } from"../../components/HeroBackdrop.tsx"importbetterErrorsfrom"./betterErrors.twoslash.js?raw"importclarityAndConcisionfrom"./clarityAndConcision.twoslash.js?raw"importdeepIntrospectabilityfrom"./deepIntrospectability.twoslash.js?raw"importintrinsicOptimizationfrom"./intrinsicOptimization.twoslash.js?raw"importunparalleledDxfrom"./unparalleledDx.twoslash.js?raw"
<divclass="not-content">
<HeroBackdropclient:only="react" />
</div>
## What awaits
<CardGridstagger>
<Cardtitle="Unparalleled DX"icon="seti:tsconfig">
Type syntax you already know with safety and completions unlike anything
you've ever seen
<Codecode={unparalleledDx} />
</Card>
<Cardtitle="Faster... everything"icon="rocket">
100x faster than Zod at runtime with editor performance that will remind you
how autocomplete is supposed to feel
<Tabs>
<TabItemlabel="Runtime">
<RuntimeBenchmarksGraph />
</TabItem>
<TabItemlabel="Editor">
<TypeBenchmarksGraph />
</TabItem>
</Tabs>
</Card>
<Cardtitle="Clarity and Concision"icon="comment-alt">
Definitions are half as long, type errors are twice as readable, and hovers
tell you just what really matters
<Codecode={clarityAndConcision} />
</Card>
<Cardtitle="Better Errors"icon="error">
Deeply customizable messages with great defaults
<Codecode={betterErrors} />
</Card>
<Cardtitle="Deep Introspectability"icon="seti:code-search">
ArkType uses set theory to understand and expose the relationships between
your types at runtime the way TypeScript does at compile time
<Codecode={deepIntrospectability} />
</Card>
<Cardtitle="Intrinsic Optimization"icon="seti:smarty">
Every schema is internally normalized and reduced to its purest and fastest
representation
<Codecode={intrinsicOptimization} />
</Card>
{/* <Card title="Portable" icon="seti:json"> Most definitions are just objects and strings- take them across the stack or even outside JS altogether </Card> */}
</CardGrid>
<LinkCardtitle="Doc up"description="Everything you need to know from installation to integration"href="/intro/setup"
/>
According to a member of the VSCode team, there are some other extensions that need to update their highlighting rules after 1.92.0, so I thought perhaps the issue was resolvable from here.
Expected behavior
Correct highlighting
Actual behavior
Broken highlighting
Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered:
Because we treat issues as our backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn’t an exact duplicate but is closely related.
Initial checklist
Affected packages and versions
v1.8.9
Link to runnable example
No response
Steps to reproduce
As of VSCode 1.92.0, I see the following when viewing an Astro
.mdx
file that previously was correctly highlighted:Here is the content of that file for reference:
According to a member of the VSCode team, there are some other extensions that need to update their highlighting rules after
1.92.0
, so I thought perhaps the issue was resolvable from here.Expected behavior
Correct highlighting
Actual behavior
Broken highlighting
Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: