
Markdown Extensions 
 Author:Anda Toshiki
 Updated:3 months ago
 Words:181
 Reading:1 min
Code Groups 
Code Groups and Twoslash multi-file support.
ts
tsimport {name } from './name'export functionhello (name : string) {console .log (`Hello, ${name }!`)}hello (name )
tsimport {name } from './name'export functionhello (name : string) {console .log (`Hello, ${name }!`)}hello (name )
ts
tsexport constname = 'twoslash'
tsexport constname = '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