From f82ba8e645c67460b7110c5fe574a435b52c3c27 Mon Sep 17 00:00:00 2001 From: BearToCode Date: Sun, 11 Aug 2024 18:52:37 +0200 Subject: [PATCH] fix: add rehype options (#109) --- packages/carta-md/src/lib/internal/carta.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/carta-md/src/lib/internal/carta.ts b/packages/carta-md/src/lib/internal/carta.ts index 62b18587..7f245168 100644 --- a/packages/carta-md/src/lib/internal/carta.ts +++ b/packages/carta-md/src/lib/internal/carta.ts @@ -200,6 +200,7 @@ export class Carta { public readonly historyOptions?: TextAreaHistoryOptions; public readonly theme?: Theme | DualTheme; public readonly shikiOptions?: ShikiOptions; + public readonly rehypeOptions: RehypeOptions; public readonly rendererDebounce: number; public readonly keyboardShortcuts: KeyboardShortcut[]; public readonly icons: Icon[]; @@ -214,7 +215,6 @@ export class Carta { public readonly gfmOptions: GfmOptions | undefined; public readonly syncProcessor: Processor; public readonly asyncProcessor: Promise; - private readonly rehypeOptions: RehypeOptions; private mElement: HTMLDivElement | undefined; private mInput: InputEnhancer | undefined; private mRenderer: Renderer | undefined;