
Markdown Extensions 
 Author:Anda Toshiki
 Updated:a day ago
 Words:181
 Reading:1 min
Code Groups 
Code Groups and Twoslash multi-file support.
ts
tsname } from './name'export functionhello (name : string) {console .log (`Hello, ${name }!`)}hello (name )
tsname } from './name'export functionhello (name : string) {console .log (`Hello, ${name }!`)}hello (name )
ts
tsname = 'twoslash'
tsname = 'twoslash'
Unsupported Extensions 
Since VitePress Twoslash uses it's own Shiki highlighter, the following syntax highlighting extensions are not currently compatible.
- Line Highlighting in Code Blocks
- Focus in Code Blocks
- Colored Diffs in Code Blocks
- Errors and Warnings in Code Blocks
- Line Numbers
- Import Code Snippets
If you are interested in adding support, please start a new GitHub Discussion.
 Toshiki's Note
Toshiki's Note