Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/frokk/mode-svelte

Svelte Mode For CodeMirror 5
https://github.com/frokk/mode-svelte

codemirror codemirror-mode svelte sveltejs

Last synced: 27 days ago
JSON representation

Svelte Mode For CodeMirror 5

Awesome Lists containing this project

README

        

# mode-svelte
> Svelte Mode For CodeMirror

[![npm version](https://nodei.co/npm/codemirror-mode-svelte.png?downloads=true)](https://www.npmjs.com/package/codemirror-mode-svelte)

---
## Usage

Include [`lib/index.js`](lib/index.js) in your HTML, Svelte Mode Also Requires:
- `addon/mode/overlay.js`
- `mode/xml/xml.js`
- `mode/javascript/javascript.js`
- `mode/css/css.js`
- `mode/htmlmixed/htmlmixed.js`

It is automatically included when using the npm package:

```bash
npm i codemirror-mode-svelte
```

---

Original Author of the mode is [Juan Gomez](https://github.com/gomezcabo) who made a [Pull Request](https://github.com/codemirror/codemirror5/pull/5914) To Add The Mode in CodeMirror 5 Library.

---
# Thanks