Skip to content

When runtime is true @nuxtjs/markdownit-loader option is broken #54

Open
@odanado

Description

@odanado

Here is delete options.use.

delete options.use

This code unintentionally changes the moduleLoader option.
https://github.com/nuxt-community/markdownit-module/blob/d615e56dcc/src/module.ts#L22

Specifying runtime: false solves this problem, but $md.render will not be available

minimal reproduction repository: https://github.com/odan-sandbox/nuxt-markdown-it-plugin-sandbox
Related: #29

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