Skip to content

is this still work? #23

@SeungyeopShin

Description

@SeungyeopShin

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);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions