Skip to content

Add a way to add Custom CodeMirror support for languages #400

Open
@NullVoxPopuli

Description

Is your feature request related to a problem?

I would like to add codemirror support for Ember's gjs and gts filetypes.

I already saw similar issues:

but saw that an extensible API was not added, but Svelte support is now just built in to tutorial kit.

I already did the work to create codemirror plugins for https://share.glimdown.com/_uXZKpvFRx63MJp7lEhk6A, code here:

Describe the solution you'd like.

a way to pass a function or an array of mappings for filetypes -> plugins for codemirror to load

  • the syntax plugin
  • the array of support plugins (completions, etc)

Describe alternatives you've considered.

I could PR direct support for gjs/gts to tutorial kit

Additional context

<3

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpr-welcomeAccepting pull requests for this change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions