Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshnuss/svelte-codemirror
https://github.com/joshnuss/svelte-codemirror
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/joshnuss/svelte-codemirror
- Owner: joshnuss
- Created: 2021-03-08T02:50:29.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T21:40:23.000Z (over 2 years ago)
- Last Synced: 2024-04-14T03:14:25.760Z (7 months ago)
- Language: Svelte
- Size: 31.3 KB
- Stars: 9
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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