@churchapps/apphelper-markdown
Version:
ChurchApps markdown/lexical editor components
12 lines (11 loc) • 448 B
TypeScript
import type { ElementTransformer, Transformer } from "@lexical/markdown";
import type { TextFormatType } from "lexical";
export declare const HR: ElementTransformer;
export type TextFormatTransformer = Readonly<{
format: ReadonlyArray<TextFormatType>;
tag: string;
intraword?: boolean;
type: "text-format";
}>;
export declare const UNDERLINE: TextFormatTransformer;
export declare const PLAYGROUND_TRANSFORMERS: Array<Transformer>;