The bug is tracked at https://github.com/microsoft/TypeScript-TmLanguage/issues/873.
It affects this grammar when used on GH *only* when using ` ```ts `.
It affects this grammar when used in VS code everywhere.
The actual solution is upstream, but tracking it here as users might run into it.
In the mean time, add a semicolon :'(
````md
# Dark blue?
```ts
type X = 1;
Example:
Dark blue?
Dark blue?
Dark blue?