I tested this package with examples,
But an error occured as below.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'lexer')
at markdownToBlocks (index.ts:27:1)
export async function markdownToBlocks(
body: string,
options: ParsingOptions = {}
): Promise<KnownBlock[]> {
const tokens = marked.lexer(body); // error line
return parseBlocks(tokens, options);
}
I tested this package with examples,
But an error occured as below.