import type { ILanguageRegistration } from 'shiki'; export const DARK_THEME = 'npm/shiki@0.14.1/themes/dark-plus'; export const LIGHT_THEME = 'npm/shiki@0.14.1/themes/light-plus'; export const FALLBACK_LANG = 'Plain Text'; /** * Note: Use it carefully because it is not a valid language registration. */ export const PLAIN_TEXT_REGISTRATION = { id: FALLBACK_LANG, displayName: FALLBACK_LANG, scopeName: 'source.plaintext', /** * Do not use this path. It is only used to match the type of `ILanguageRegistration` * * @deprecated */ path: 'PLEASE-DO-NOT-USE-THIS' as const, aliases: ['plaintext', 'txt', 'text'], } satisfies ILanguageRegistration;