From 7e8b60d88d65194d2f65596aa5dd4d82d620a3a7 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Mon, 23 Jul 2018 18:37:31 +0300 Subject: Fix a couple of broken lists --- doc/clojurescript.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/clojurescript.md b/doc/clojurescript.md index 8e7f05bf..be7110d5 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.6"] ; 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.6"] ; 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` (C-c C-x (C-)j (C-)s). Select `figwheel` when prompted about the ClojureScript REPL type. @@ -223,20 +223,20 @@ 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.6"] ; not needed for cider-jack-in-cljs -``` + ```clojure + [cider/piggieback "0.3.6"] ; 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` (C-c C-x (C-)j (C-)s). Select `figwheel-main` when prompted about the ClojureScript REPL type. -4. Open a browser to the Figwheel URL so that it can connect to your application. +4. Select the Figwheel build to run when prompted for it. (e.g. `:dev`). ### Using shadow-cljs -- cgit v1.2.3