Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshnuss/svelte-codemirror


https://github.com/joshnuss/svelte-codemirror

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

Svelte CodeMirror component
---------------------------

Provides an abstraction layer over CodeMirror that reduces the setup needed to make it work with Svelte.

## Demo

https://svelte.dev/repl/b2c657e8c49a42b6ba6aaf3dbd7d09d5

## Usage

```html

import 'codemirror/mode/javascript/javascript'
import CodeMirror from '@joshnuss/svelte-codemirror'

let editor

```

## License

MIT