Skip to content

The open alternative to Salesforce, designed for AI.

230 B
Raw Blame
import { type Content } from '@tiptap/core';
import { marked } from 'marked';

export const parseLegacyMarkdownDocument = (
  serializedDocument: string,
): Content => marked.parse(serializedDocument, { async: false }) as string;