Urara-Blog/node_modules/.pnpm-store/v3/files/07/fb6b5d320d46f60427e400961c3abf15007c1202ea235d644ce387b2c949475cd62de5462747afed824f3e8556c715fb1aac1822771dd6b92cbe3ebba1fab4
2022-08-14 01:14:53 +08:00

11 lines
544 B
Text

import { Meta } from "../utils";
export interface HtmlRendererOptions {
langId?: string;
fg?: string;
bg?: string;
themeName?: string;
}
/** A func for setting a consistent <pre> */
export declare const preOpenerFromRenderingOptsWithExtras: (opts: HtmlRendererOptions, meta: Meta, classes?: string[] | undefined) => string;
/** You don't have a language which shiki twoslash can handle, make a DOM compatible version */
export declare function plainTextRenderer(code: string, options: HtmlRendererOptions, meta: Meta): string;