UNPKG

histoire

Version:

A fast story book powered by Vite

10 lines • 673 B
import type { Plugin as VitePlugin } from 'vite'; import type { Context } from '../context.js'; import MarkdownIt from 'markdown-it'; /** Creates existing Markdown renderer and story-aware relative link handling. */ export declare function createMarkdownRenderer(ctx: Context): Promise<MarkdownIt>; /** Applies configured Markdown plugin hook once to the shared renderer. */ export declare function createMarkdownRendererWithPlugins(ctx: Context): Promise<MarkdownIt>; /** Creates Vue inline documentation transform using the shared renderer. */ export declare function createMarkdownPlugins(ctx: Context): Promise<VitePlugin<any>[]>; //# sourceMappingURL=renderer.d.ts.map