Skip to content

Commit 7bf6f3d

Browse files
committed
README: Improve formatting.
1 parent 3d72305 commit 7bf6f3d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,17 @@ for the symbol you want to show the docstring for.
105105

106106
#### Starting and connecting to a socket server
107107

108-
For Leiningen, add this to your ~/.lein/profiles.clj or your project.clj:
109-
```:jvm-opts ["-Dclojure.server.repl={:port 5555 :accept clojure.core.server/repl}"]```
108+
For Leiningen, add the following option to your ~/.lein/profiles.clj or your project.clj:
109+
```
110+
:jvm-opts ["-Dclojure.server.repl={:port 5555 :accept clojure.core.server/repl}"]
111+
```
110112

111-
Then run `lein repl` from within your project directory, and `C-c M-c RET localhost RET 5555` from within Emacs.
113+
Then run `lein repl` from within your project directory to start the REPL, and `C-c M-c RET localhost RET 5555` from within Emacs to connect.
112114

113115
For boot, export the environment variable BOOT_JVM_OPTIONS:
114-
```export BOOT_JVM_OPTIONS='-Dclojure.server.repl="{:port 5555 :accept clojure.core.server/repl}"'```
116+
```
117+
export BOOT_JVM_OPTIONS='-Dclojure.server.repl="{:port 5555 :accept clojure.core.server/repl}"'
118+
```
115119

116120
You can also start a socket server via the [Clojure CLI tools](https://clojure.org/guides/getting_started).
117121
Configuration options are described [here](https://dev.clojure.org/display/design/Socket+Server+REPL).

0 commit comments

Comments
 (0)