Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is this still work? #23

Open
SeungyeopShin opened this issue Jan 9, 2024 · 0 comments
Open

is this still work? #23

SeungyeopShin opened this issue Jan 9, 2024 · 0 comments

Comments

@SeungyeopShin
Copy link

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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant