1.7.4 • Published 3 years ago

@argdown/codemirror-mode v1.7.4

Weekly downloads
12
License
MIT
Repository
github
Last release
3 years ago

@argdown/codemirror-mode

Argdown logo

A simple Codemirror syntax highlighting mode for the Argdown argumentation syntax.

For a live demo of this mode see the Argdown Demo.

This package is part of the Argdown project.

how to register the mode with CodeMirror:

var mode = require("argdown-codemirror-mode");
var CodeMirror = require("codemirror");

// Activate the simple mode addon
require("codemirror/addon/mode/simple.js");

// Load the stylesheet (if using webpack)
require("./node_modules/argdown-codemirror-mode/codemirror-argdown.css");

// Define the mode
CodeMirror.defineSimpleMode("argdown", mode);

To see any results you have to load 'codemirror-argdown.css' in your html file.

1.7.4

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.0

4 years ago

1.4.7

4 years ago

1.4.5

4 years ago

1.3.0

4 years ago

1.1.0

5 years ago

1.0.0

6 years ago