CodeMirror 6
Clojure/Script mode forEnabling a decent Clojure/Script editor experience in the browser. Built for and by Nextjournal.
✨ Features
- Try pasting
clojure/core.clj
into the live demo.
- Forward: Ctrl + ← / → or Mod + ⇧ + J / K
- Backward: Ctrl + Alt + ← / →
- Expand/Contract: Alt + ↑ / ↓ or Mod + 1 / 2
- At Cursor: Alt + ⏎
- Top-level form: Alt + ⇧ + ⏎
- Cell: Mod + ⏎
📦 Use it in your project
deps.edn
Include it in your {:deps {nextjournal.clojure-mode {:git/url "https://github.com/nextjournal/clojure-mode"
:sha "SHA"}}}
🛠 Development Setup
- Install JS dependencies:
yarn install
- Start dev server:
yarn watch
- Open the demo page at http://localhost:8002/
⚖️ License
Licensed under the EPL License, Copyright © 2020-present Nextjournal GmbH.
See LICENSE for more information.