Skip to content

Commit 6afa2b5

Browse files
format: cli rebel terminal repl blank space and alignment
1 parent 880d18e commit 6afa2b5

File tree

1 file changed

+18
-22
lines changed

1 file changed

+18
-22
lines changed

docs/clojure-cli/repl/index.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
The REPL is the environment in which all Clojure code runs, whether that be during development, testing or in production systems.
44

5-
A Terminal REPL provides a simple way to interact with the REPL, sending code expressions for evaluation and returning results.
5+
A Terminal REPL provides a simple way to interact with the REPL, sending code expressions for evaluation and returning results.
66

7-
Use a terminal REPL for
7+
Use a terminal REPL for
88

99
* quick experiments
10-
* long running processes (e.g. http severs running Clojure)
10+
* long running processes (e.g. http severs running Clojure)
1111
* interact with the REPL state and manage components (e.g restarting system components, querying UI component state or services system state).
1212
* a REPL process separate from a specific editor control
1313

@@ -23,7 +23,7 @@ Rebel is a REPL terminal UI that provides auto-completion, function call syntax
2323
<iframe width="560" height="315" src="https://www.youtube.com/embed/U19TWMsg0s0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
2424
</p>
2525

26-
### Install Rebel
26+
### Install Rebel
2727

2828
=== "Practicalli Clojure CLI Config"
2929
`:repl/rebel` alias is provided by [:fontawesome-solid-book-open: Practicalli Clojure CLI Config](/clojure/install/clojure-cli/#practicalli-clojure-cli-config) to run rebel readline.
@@ -39,7 +39,7 @@ Rebel is a REPL terminal UI that provides auto-completion, function call syntax
3939
Add an alias called `:repl/rebel`to the user `deps.edn` configuration, e.g. `~/.config/clojure/deps.edn`
4040
!!! EXAMPLE "Basic Rebel terminal UI alias"
4141
```clojure title="~/.config/clojure/deps.edn"
42-
:repl/rebel
42+
:repl/rebel
4343
{:extra-deps {com.bhauman/rebel-readline {:mvn/version "0.1.5"}}
4444
:main-opts ["-m" "rebel-readline.main"]}
4545
```
@@ -127,46 +127,42 @@ Set configuration options in a `rebel_readline.edn` file, in `$XDG_CONFIG_HOME/c
127127
;;
128128
;; Customise use and appearance
129129
;; ---------------------------------------------------------
130-
130+
131131
{;; Vi or Emacs style key-map
132132
;; :viins or :emacs. Default :emacs
133133
:key-map :viins
134-
134+
135135
;; Color theme - light or dark
136136
;; :color-theme :light-screen-theme
137137
:color-theme :dark-screen-theme
138-
138+
139139
;; Enable syntax highlight. Default true}
140140
:hihighlight true
141-
141+
142142
;; Enable complete on tab. Default true}
143143
:completion true
144-
144+
145145
;; Enable function documentation Default true
146146
:eldoc true
147147
;; auto indent code on newline. Default true}
148148
:indent true
149-
149+
150150
;; rebind root *out* during read to protect linereader, Default true}
151151
:redirect-output true
152-
153-
;; Custom key-bindings applied after all other
152+
153+
;; Custom key-bindings applied after all other
154154
:key-bindings {}}
155155
```
156156

157157

158158
## Next Steps
159159

160-
[:fontawesome-solid-book-open: Code In The REPL](coding.md){target=_blank .md-button}
161-
162-
[:fontawesome-solid-book-open: Managing Libraries In The REPL](libraries.md){target=_blank .md-button}
163-
164-
[:fontawesome-solid-book-open: Help In The REPL](help.md){target=_blank .md-button}
165-
166-
[:fontawesome-solid-book-open: Custom REPL Startup](../repl-startup.md){target=_blank .md-button}
167-
168-
[:fontawesome-solid-book-open: REPL Uncovered](repl-uncovered.md){target=_blank .md-button}
160+
[:fontawesome-solid-book-open: Code In The REPL](coding.md){target=_blank .md-button}
169161

162+
[:fontawesome-solid-book-open: Managing Libraries In The REPL](libraries.md){target=_blank .md-button}
170163

164+
[:fontawesome-solid-book-open: Help In The REPL](help.md){target=_blank .md-button}
171165

166+
[:fontawesome-solid-book-open: Custom REPL Startup](../repl-startup.md){target=_blank .md-button}
172167

168+
[:fontawesome-solid-book-open: REPL Uncovered](repl-uncovered.md){target=_blank .md-button}

0 commit comments

Comments
 (0)