emacs/var/elfeed/db/data/0d/0df80fa8316d3411946e9f8f65b37ae3c62c3cee
2022-01-03 12:49:32 -06:00

1 line
1.1 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>I&#39;ve been trying to put together a guide to Clojure as I&#39;ve been using it, as an org file, with little illustrative bits of Clojure source embedded in the file, which I have a cider-repl evaluate &amp; which puts the results of each code snippet below the source code in a #+RESULTS: block. That&#39;s all well and good when the thing we&#39;re interested in is the return value(s) of the snippet, but I&#39;ve been looking to try &amp; get the standard output written into the results too, or in a similar block maybe labelled as +#OUTPUT:.</p> <p>Does anyone know how this might be done? I suspect there must be some kind of option passed in the +#BEGIN_SRC CLOJURE line, but I haven&#39;t been able to find out what it should be.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Skiamakhos"> /u/Skiamakhos </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/rceb0w/embedded_code_and_output/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/orgmode/comments/rceb0w/embedded_code_and_output/">[comments]</a></span>