Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Yash-Singh1/codemirror-mode-randomgen
CodeMirror mode for RandomGen
https://github.com/Yash-Singh1/codemirror-mode-randomgen
Last synced: 3 months ago
JSON representation
CodeMirror mode for RandomGen
- Host: GitHub
- URL: https://github.com/Yash-Singh1/codemirror-mode-randomgen
- Owner: Yash-Singh1
- License: mit
- Created: 2021-02-16T05:06:03.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-23T22:37:56.000Z (over 1 year ago)
- Last Synced: 2024-11-14T09:31:17.568Z (3 months ago)
- Language: JavaScript
- Size: 65.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-codemirror5 - RandomGen
README
# `codemirror-mode-randomgen`
CodeMirror Mode for [RandomGen](https://orteil.dashnet.org/randomgen/?do=create).
## Installation
```sh
npm install codemirror-mode-randomgen
```## Requirements
You must have `CodeMirror` installed. Before importing this package, import CodeMirror's `mode/simple` addon. If the `mode/overlay` addon and the `xml` mode is imported, then the XML in elements will also be highlighted.
## Usage
This package will simply define the `randomgen` mode. This mode can be specified when initializing the `CodeMirror` editor.