import { TVueMarkdownProps } from '../XMarkdownCore'; import { CodeBlockHeaderExpose } from '../XMarkdownCore/components/CodeBlock/shiki-header'; import { InitShikiOptions } from './shiki'; export type MarkdownProps = { allowHtml?: boolean; enableLatex?: boolean; enableBreaks?: boolean; codeXRender?: Record; codeXSlot?: CodeBlockHeaderExpose & Record; codeHighlightTheme?: BuiltinTheme | null; remarkPluginsAhead?: PluggableList; rehypePluginsAhead?: PluggableList; mermaidConfig?: Partial; } & Partial> & Pick< TVueMarkdownProps, | 'markdown' | 'customAttrs' | 'remarkPlugins' | 'rehypePlugins' | 'sanitize' | 'sanitizeOptions' | 'rehypeOptions' >; export type MarkdownProviderProps = Omit & Partial>;