UNPKG

vue-markdown-shiki

Version:

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

9 lines (8 loc) 290 B
import { Highlighter } from 'shiki'; import { Processor } from './types'; export interface HighlighterOptions { themes?: string[] | string; langs?: string[]; processors?: Processor[]; } export declare function getHighlighter(options?: HighlighterOptions): Promise<Highlighter>;