From 77a7566dfbe14fd4cf248046fa2fa5b8c79fc60c Mon Sep 17 00:00:00 2001 From: Anuradha Gunasekara Date: Sat, 22 Jun 2024 05:30:59 +0100 Subject: [PATCH] feat: export importVisitors$, usedLexicalNodes$, usedLexicalNodes$ cells (#504) --- src/plugins/core/index.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/plugins/core/index.ts b/src/plugins/core/index.ts index b78dc032..721f09c2 100644 --- a/src/plugins/core/index.ts +++ b/src/plugins/core/index.ts @@ -231,16 +231,25 @@ const mutableMarkdownSignal$ = Signal((r) => { // import configuration /** @internal */ +/** + * Contains the currently registered import vistors. + * @group Core + */ export const importVisitors$ = Cell[]>([]) -/** @internal */ +/** + * Contains the currently registered lexical nodes. + * @group Core + */ +export const usedLexicalNodes$ = Cell[]>([]) export const syntaxExtensions$ = Cell([]) /** @internal */ export const mdastExtensions$ = Cell>([]) -/** @internal */ -export const usedLexicalNodes$ = Cell[]>([]) // export configuration -/** @internal */ +/** + * Contains the currently registered export vistors. + * @group Core + */ export const exportVisitors$ = Cell>([]) /** @internal */ export const toMarkdownExtensions$ = Cell>([])