From 885cb4ea1d145568e96d1a32f01838886e952c4d Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 17 Oct 2018 12:08:29 +0200 Subject: Fix some broken code blocks in the manual Turns out MkDocs doesn't support nested fenced code blocks. See https://github.com/Python-Markdown/markdown/issues/53 --- doc/clojurescript.md | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'doc') 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` (C-c C-x (C-)j (C-)s). 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` (C-c C-x (C-)j (C-)s). 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 (C-c C-x C-s C-s/j) within Cider session and evaluation will be directed into all REPLs simultaneously. See [Managing Connections](managing_connections.md) for more details. - -- cgit v1.2.3