summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/clojurescript.md27
1 files changed, 13 insertions, 14 deletions
diff --git a/doc/clojurescript.md b/doc/clojurescript.md
index 53803e66..309e209f 100644
--- a/doc/clojurescript.md
+++ b/doc/clojurescript.md
@@ -189,10 +189,10 @@ You can also use [Figwheel](https://github.com/bhauman/lein-figwheel) with CIDER
2. Add these to your dev `:dependencies`:
- ```clojure
- [cider/piggieback "0.3.9"] ; not needed for cider-jack-in-cljs
- [figwheel-sidecar "0.5.16"] ; use here whatever the current version of figwheel is
- ```
+```clojure
+[cider/piggieback "0.3.9"] ; not needed for cider-jack-in-cljs
+[figwheel-sidecar "0.5.16"] ; use here whatever the current version of figwheel is
+```
Keep in mind that figwheel 0.5.16 is the first to support piggieback
0.3. If you're using an older figwheel you should stick to piggieback
@@ -200,9 +200,9 @@ Keep in mind that figwheel 0.5.16 is the first to support piggieback
3. Add this to your dev `:repl-options` (not needed for `cider-jack-in-cljs`):
- ```clojure
- :nrepl-middleware [cider.piggieback/wrap-cljs-repl]
- ```
+```clojure
+:nrepl-middleware [cider.piggieback/wrap-cljs-repl]
+```
4. Start the REPL with `cider-jack-in-cljs` (<kbd>C-c C-x (C-)j (C-)s</kbd>). Select
`figwheel` when prompted about the ClojureScript REPL type.
@@ -223,15 +223,15 @@ You can also use [Figwheel-main](https://github.com/bhauman/figwheel-main) with
1. Add this to your dev `:dependencies`:
- ```clojure
- [cider/piggieback "0.3.9"] ; not needed for cider-jack-in-cljs
- ```
+```clojure
+[cider/piggieback "0.3.9"] ; not needed for cider-jack-in-cljs
+```
2. Add this to your dev `:repl-options` (not needed for `cider-jack-in-cljs`):
- ```clojure
- :nrepl-middleware [cider.piggieback/wrap-cljs-repl]
- ```
+```clojure
+:nrepl-middleware [cider.piggieback/wrap-cljs-repl]
+```
3. Start the REPL with `cider-jack-in-cljs` (<kbd>C-c C-x (C-)j (C-)s</kbd>). Select
`figwheel-main` when prompted about the ClojureScript REPL type.
@@ -276,4 +276,3 @@ to be evaluated twice - once for each of the REPLs. In fact, you can create
multiple clj and cljs sibling connections (<kbd>C-c C-x C-s C-s/j</kbd>) within
Cider session and evaluation will be directed into all REPLs simultaneously. See
[Managing Connections](managing_connections.md) for more details.
-