UNPKG

vue-markdown-shiki

Version:

A Vue 3 component library that provides integration with Shiki and Markdown-it.

6 lines (5 loc) 338 B
import { LanguageRegistration } from 'shiki'; import { Logger } from 'vite'; import { ThemeOptions } from '../markdown'; import { HighlightPlugin } from '../shared'; export declare function highlight(theme?: ThemeOptions, languages?: LanguageRegistration[], defaultLang?: string, logger?: Pick<Logger, 'warn'>): Promise<HighlightPlugin>;