Variable: cider-eval-rich-content-destination
cider-eval-rich-content-destination is a customizable variable defined
in cider-eval.el.
Value
inline
Documentation
Where rich (content-typed) interactive evaluation results are rendered.
When an interactive evaluation (e.g. cider-eval-form) produces a
value with a recognized content type - an image, or a reference to external
content such as a file or URL - this controls where that content shows up:
inline - render directly displayable content (images) in the result
overlay at point; other rich results fall back to their
plain-text representation.
repl - render in the current REPL buffer, exactly like rich results
of forms entered at the REPL prompt (references to external
content get a [show content] button there).
popup - render in the *cider-result* popup buffer.
nil - don't request rich content; results display as plain values.
This is the interactive-evaluation counterpart of
cider-repl-use-content-types, and likewise requires cider-nrepl.
This variable was added, or its default value changed, in cider version 2.0.0.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eval.el
(defcustom cider-eval-rich-content-destination 'inline
"Where rich (content-typed) interactive evaluation results are rendered.
When an interactive evaluation (e.g. `cider-eval-form') produces a
value with a recognized content type - an image, or a reference to external
content such as a file or URL - this controls where that content shows up:
`inline' - render directly displayable content (images) in the result
overlay at point; other rich results fall back to their
plain-text representation.
`repl' - render in the current REPL buffer, exactly like rich results
of forms entered at the REPL prompt (references to external
content get a [show content] button there).
`popup' - render in the `*cider-result*' popup buffer.
nil - don't request rich content; results display as plain values.
This is the interactive-evaluation counterpart of
`cider-repl-use-content-types', and likewise requires cider-nrepl."
:type '(choice (const :tag "Inline, in the result overlay" inline)
(const :tag "In the REPL buffer" repl)
(const :tag "In a popup buffer" popup)
(const :tag "Plain printed values" nil))
:group 'cider
:package-version '(cider . "2.0.0"))