import { function createHighlighterCore(options?: HighlighterCoreOptions): Promise<HighlighterCore>
Create a Shiki core highlighter instance, with no languages or themes bundled. Wasm and each language and theme must be loaded manually.
@seehttp://shiki.style/guide/bundles#fine-grained-bundle
createHighlighterCore
} from 'shiki/core'
const const shiki: HighlighterCoreshiki = await function createHighlighterCore(options?: HighlighterCoreOptions): Promise<HighlighterCore>
Create a Shiki core highlighter instance, with no languages or themes bundled. Wasm and each language and theme must be loaded manually.
@seehttp://shiki.style/guide/bundles#fine-grained-bundle
createHighlighterCore
({})
const const a: 1a = 1
Custom log message
const const b: 1b = 1
Custom error message
const const c: 1c = 1
Custom warning message
Custom annotation message