Skip to content

Using multiplex mode #282

Open
Open

Description

@dcoales

Hi,

Does anyone have any examples of using multiplex mode with react-codemirror2. I have implemented my own mode with a custom tokenizer, and am using this with an editor which just parses this mode, but now I want to implement an editor which is primarily json with some embedded blocks which use my custom mode.

I've seen examples of this written directly in javascript but I'm not quite sure how to do this with the react-codemirror2 package.

Any help gratefully received.

Thanks
David

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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