Skip to content

How to support code blocks without syntax highlighting? #195

@adaboese

Description

@adaboese

If I just add:

codeBlockPlugin({
    defaultCodeBlockLanguage: 'js',
})

I get:

No CodeBlockEditor registered for language=null meta=null

If I don't add plugin at all, I get:

Error: no MdastImportVisitor found for code {"type":"code","lang":null,"meta":null,"value":"Before initiating

I just want simple code block without highlighting.

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