diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2018-10-17 12:08:29 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2018-10-17 12:08:29 +0200 |
commit | 885cb4ea1d145568e96d1a32f01838886e952c4d (patch) | |
tree | cd5d4e0f1c580db9151399077699b99e92197144 /doc | |
parent | c936cdad4c944b716e2842f11c373f69a452c4b2 (diff) |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/clojurescript.md | 27 |
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. - |