summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-05-02 12:44:01 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-05-02 12:44:01 +0200
commitc64cdff0888a6dce08392865a2201a4a66506e72 (patch)
treed3fbec0edb37a18c0eea4da93aafd467c8c9f18b
parentfa51fc2922b4d50d9fe12a9f709a8b01541051ec (diff)
downloadorg-mode-c64cdff0888a6dce08392865a2201a4a66506e72.tar.gz
org-manual: Document :wrap header argument
* doc/org-manual.org (Results of Evaluation): Document :wrap header argument.
-rw-r--r--doc/org-manual.org18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/org-manual.org b/doc/org-manual.org
index a2067a6..8c98859 100644
--- a/doc/org-manual.org
+++ b/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