RISC-V mode for CodeMirror.
defineMode(CodeMirror)
: Defineriscv
mode and MIMEtext/x-riscv
import CodeMirror from "codemirror";
import "codemirror/addon/mode/simple.js"; // `CodeMirror.defineSimpleMode`
import { defineMode } from "@codewars/codemirror-riscv";
defineMode(CodeMirror);
See https://codewars.github.io/codemirror-riscv/
Run npm run dev
to start a local dev server.