1 line
1.2 KiB
Plaintext
1 line
1.2 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>Is is possible to change the behavior of the ‘results’ header argument for the whole document?</p> <p>Like adding <code>:results verbatim</code> and <code>:export both</code> in </p> <p>```</p> <h1>+begin_src sh :results verbatim :export both</h1> <p>ls -l</p> <h1>+end_src</h1> <p>```</p> <p>I've tried adding it the document header like so:</p> <p>```</p> <h1>+OPTIONS: :results verbatim</h1> <p>```</p> <p>and </p> <p>```</p> <h1>+PROPERTY: :results verbatim</h1> <p>```</p> <p>-- edit - solution</p> <p>```</p> <h1>+PROPERTY: header-args:sh :results verbatim :exports both</h1> <p>```</p> <p>Also found it in the <a href="https://orgmode.org/manual/Using-Header-Arguments.html">manual</a> under the section <em>Header arguments in Org mode properties</em></p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/TekDevelop"> /u/TekDevelop </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/qzgold/change_src_block_results_for_the_whole_document/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/qzgold/change_src_block_results_for_the_whole_document/">[comments]</a></span> |