Browse Source

org-manual: Document :wrap header argument

* doc/org-manual.org (Results of Evaluation): Document :wrap header
  argument.
Nicolas Goaziou 6 years ago
parent
commit
c64cdff088
1 changed files with 18 additions and 0 deletions
  1. 18 0
      doc/org-manual.org

+ 18 - 0
doc/org-manual.org

@@ -17251,6 +17251,24 @@ follows from the type specified above.
      Interpreted as raw Org mode.  Inserted directly into the buffer.
      Aligned if it is a table.  Usage example: =:results value raw=.
 
+#+cindex: @samp{wrap}, header argument
+The =wrap= header argument unconditionnally marks the results block by
+appending strings to =#+BEGIN_= and =#+END_=.  If no string is
+specified, Org wraps the results in a =#+BEGIN_results=
+... =#+END_results= block.  It takes precedent over the =results=
+value listed above.  E.g.,
+
+#+begin_example
+,#+BEGIN_SRC emacs-lisp :results html :wrap EXPORT markdown
+"<blink>Welcome back to the 90's</blink>"
+,#+END_SRC
+
+,#+RESULTS:
+,#+BEGIN_EXPORT markdown
+<blink>Welcome back to the 90's</blink>
+,#+END_EXPORT
+#+end_example
+
 *** Handling
 :PROPERTIES:
 :UNNUMBERED: notoc