Skip to content

dixoxib/codemirror-riscv

 
 

Repository files navigation

codemirror-riscv

RISC-V mode for CodeMirror.

  • defineMode(CodeMirror): Define riscv mode and MIME text/x-riscv

Usage

import CodeMirror from "codemirror";
import "codemirror/addon/mode/simple.js"; // `CodeMirror.defineSimpleMode`

import { defineMode } from "@codewars/codemirror-riscv";

defineMode(CodeMirror);

Demo

See https://codewars.github.io/codemirror-riscv/

Development

Run npm run dev to start a local dev server.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.6%
  • CSS 37.8%
  • HTML 11.1%
  • Shell 0.5%