Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Twoslash in MarkdownNew to Visual Studio Code? Get it now.
Twoslash in Markdown

Twoslash in Markdown

Orta

|
4,158 installs
| (0) | Free
Auto-complete for Twoslash code samples in your IDE
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-twoslash README

This extension adds auto-complete for any Twoslash code samples in a markdown file, as well as a link to open the code sample in the Twoslash REPL on the TypeScript website.

The auto-complete includes:

  • Twoslash specific commands (e.g. @filename)
  • TypeScript compiler options

The compiler options uses the version of TypeScript in your node_modules, so it should be up-to-date.

Deployment

Unlike all the rest of this repo, this is not automatically deployed. It can be deployed by Orta via:

npx vsce publish
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft