Skip to content

nawroth/codemirror-asciidoc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AsciiDoc mode for CodeMirror

This repository contains the AsciiDoc mode for CodeMirror.

Installation

$ npm install codemirror-asciidoc

Usage

var codemirror = require("codemirror"),
  codemirror_asciidoc = require("codemirror-asciidoc");

codemirror.fromTextArea(document.getElementById("editor"), {
  lineNumbers: true,
  lineWrapping: true,
  mode: "asciidoc"
});

License

BSD

Credits

The AsciiDoc mode for CodeMirror was generated from the AsciiDoc mode for Ace using the ace2cm project by Thaddee Tyl.

About

AsciiDoc mode for CodeMirror

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%