Nifty Penguin Magic

    @codewars/codemirror-riscv

    0.0.1 • Public • Published

    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.

    Install

    npm i @codewars/codemirror-riscv

    DownloadsWeekly Downloads

    10

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    8.61 kB

    Total Files

    4

    Last publish

    Collaborators

    • kazk