JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14618
  • Score
    100M100P100Q147239F
  • License MIT

A codemirror.next mode for elixir.

Package Exports

  • codemirror-lang-elixir
  • codemirror-lang-elixir/package.json

Readme

codemirror-lang-elixir

A CodeMirror 6 mode for elixir. Most of the code is from codemirror-mode-elixir, which was not compatible with v6.

Installation

npm install codemirror-lang-elixir @codemirror/language

Usage

Treat it the same way as a legacy-modes import:

import { StreamLanguage } from '@codemirror/language'
import { elixir } from 'codemirror-lang-elixir'

const lang = StreamLanguage.define(elixir)