Skip to content

codemirror-riscv 0.0.1

Install from the command line:
Learn more about npm packages
$ npm install @codewars/codemirror-riscv@0.0.1
Install via package.json:
"@codewars/codemirror-riscv": "0.0.1"

About this version

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.

Details


Assets

  • codemirror-riscv-0.0.1-npm.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all