Skip to content

plugin.apply is not a function #7

@dessalines

Description

@dessalines

When trying to use this as a proper es6 module, IE import markdown_it_html5_media from "markdown-it-html5-media";, I get the following error:

/home/xxx/git/lemmy-ui/node_modules/markdown-it/lib/index.js:497
  plugin.apply(plugin, args);
         ^

TypeError: plugin.apply is not a function
    at MarkdownIt.use (/home/xxx/git/lemmy-ui/node_modules/markdown-it/lib/index.js:497:10)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions