UNPKG

ant-design-x-vue-next

Version:

Ant Design X for Vue — community continuation aligned with @ant-design/x

14 lines (13 loc) 459 B
import { type MarkedExtension } from 'marked'; export type ParseMarkdownOptions = { markedConfig?: MarkedExtension; openLinksInNewTab?: boolean; injectTail?: boolean; tailContent?: string; /** * Escape raw HTML tokens in markdown source (recommended for untrusted LLM output). * @default false */ escapeRawHtml?: boolean; }; export declare function parseMarkdown(source: string, options?: ParseMarkdownOptions): string;