UNPKG

carta-md

Version:

A lightweight, fully customizable, Markdown editor

19 lines (18 loc) 452 B
import type { Carta } from './internal/carta'; interface Props { /** * The Carta instance to use. */ carta: Carta; /** * Content to render. */ value: string; /** * The theme to use, which translates to the CSS class `carta-theme__{theme}`. */ theme?: string; } declare const Markdown: import("svelte").Component<Props, {}, "">; type Markdown = ReturnType<typeof Markdown>; export default Markdown;