summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2018-05-07 00:10:32 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2018-05-07 00:10:32 +0300
commitd01366a01ca922d045f720f0bb6871f9827cf4a5 (patch)
tree84a772955cc8079e835272a627690ce54909af67 /doc
parentae22b86d06ee99c3afaa4d20c5590c6cf1001be9 (diff)
Mention the new content-type functionality in the manual
Diffstat (limited to 'doc')
-rw-r--r--doc/using_the_repl.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/using_the_repl.md b/doc/using_the_repl.md
index 58ef4e15..f240b06d 100644
--- a/doc/using_the_repl.md
+++ b/doc/using_the_repl.md
@@ -208,6 +208,22 @@ To make this behavior the default:
(setq cider-repl-use-pretty-printing t)
```
+#### Displaying images in the REPL
+
+Starting with CIDER 0.17 (AndalucĂ­a) expressions that evaluate to
+images will be rendered as images in the REPL. You can disable this
+behavior if you don't like it.
+
+```el
+(setq cider-repl-use-content-types nil)
+```
+
+Alternatively you can toggle this behaviour on and off using <kbd>M-x
+cider-repl-toggle-content-types</kbd>.
+
+Currently the feature doesn't work well with pretty-printing in the REPL,
+so you're advised not to enable both of them at the same time.
+
#### Limiting printed output in the REPL
Accidentally printing large objects can be detrimental to your