1 line
1.1 KiB
Plaintext
1 line
1.1 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>I've been trying to put together a guide to Clojure as I'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 & which puts the results of each code snippet below the source code in a #+RESULTS: block. That's all well and good when the thing we're interested in is the return value(s) of the snippet, but I've been looking to try & 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't been able to find out what it should be.</p> </div><!-- SC_ON -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/orgmode/comments/rceb0w/embedded_code_and_output/">[comments]</a></span> |