Extends MarkdownUtils
Markdown adapter with pluggable storage backend and instance memoization.
Features:
constructor();
useMarkdownAdapter(Ctor: TMarkdownBaseCtor): void;
Sets the markdown storage adapter constructor. All future markdown instances will use this adapter.
useMd(): void;
Switches to folder-based markdown storage (default). Shorthand for useMarkdownAdapter(MarkdownFolderBase). Each dump creates a separate .md file.
useJsonl(): void;
Switches to JSONL-based markdown storage. Shorthand for useMarkdownAdapter(MarkdownFileBase). All dumps append to a single .jsonl file per markdown type.
useDummy(): void;
Switches to a dummy markdown adapter that discards all writes. All future markdown writes will be no-ops.