Skip to content

Themes

Bundled Themes

Themes listed below are re-distributed via tm-themes into the shiki package.

NameIDPreview
Vitesse Darkvitesse-dark

Themes are covered by their repositories’ respective licenses, which are permissive (apache-2.0, mit, etc), and made available in this NOTICE.

For loading your custom themes, please reference to this guide.

Special Themes

You can set theme to none to bypass highlighting. This is useful as the fallback when you receive user specified theme names that are not available. For example:

ts
import { 
codeToHtml
} from 'shiki'
const
html
=
codeToHtml
('console.log("Hello World")', {
lang
: 'javascript',
theme
: 'none',
})

Released under the MIT License.