forked from mirrors/org-mode
org-manual: Clarify auto-detection of code block result type
* doc/org-manual.org (How to evaluate source code): Link to Results of evaluation section for details about the inserted code block result. (Type): Clarify that auto-detecting result type relies on specific language backend, linking to the relevant manual section. (Languages): Clarify that Worg is a website. Reported-by: Alain.Cochard@unistra.fr Link: https://orgmode.org/list/25461.4423.734070.149776@gargle.gargle.HOWL
This commit is contained in:
parent
1cdac8ef6a
commit
50a3558011
|
@ -18002,7 +18002,8 @@ see [[*Code Evaluation and Security Issues]].
|
||||||
Org captures the results of the code block evaluation and inserts them
|
Org captures the results of the code block evaluation and inserts them
|
||||||
in the Org file, right after the code block. The insertion point is
|
in the Org file, right after the code block. The insertion point is
|
||||||
after a newline and the =RESULTS= keyword. Org creates the =RESULTS=
|
after a newline and the =RESULTS= keyword. Org creates the =RESULTS=
|
||||||
keyword if one is not already there.
|
keyword if one is not already there. More details in [[*Results of
|
||||||
|
Evaluation]].
|
||||||
|
|
||||||
By default, Org enables only Emacs Lisp code blocks for execution.
|
By default, Org enables only Emacs Lisp code blocks for execution.
|
||||||
See [[*Languages]] to enable other languages.
|
See [[*Languages]] to enable other languages.
|
||||||
|
@ -18257,8 +18258,12 @@ they are mutually exclusive.
|
||||||
:END:
|
:END:
|
||||||
|
|
||||||
Type tells what result types to expect from the execution of the code
|
Type tells what result types to expect from the execution of the code
|
||||||
block. Choose one of the options; they are mutually exclusive. The
|
block. Choose one of the options; they are mutually exclusive.
|
||||||
default behavior is to automatically determine the result type.
|
|
||||||
|
The default behavior is to automatically determine the result type.
|
||||||
|
The result type detection depends on the code block language, as
|
||||||
|
described in the documentation for individual languages. See
|
||||||
|
[[*Languages]].
|
||||||
|
|
||||||
#+attr_texinfo: :sep ,
|
#+attr_texinfo: :sep ,
|
||||||
- =table=, =vector= ::
|
- =table=, =vector= ::
|
||||||
|
@ -18865,8 +18870,8 @@ code block header arguments:
|
||||||
#+cindex: source code, languages
|
#+cindex: source code, languages
|
||||||
#+cindex: code block, languages
|
#+cindex: code block, languages
|
||||||
|
|
||||||
Code blocks in dozens of languages are supported. See Worg for
|
Code blocks in dozens of languages are supported. See Worg website
|
||||||
[[https://orgmode.org/worg/org-contrib/babel/languages/index.html][language specific documentation]].
|
for [[https://orgmode.org/worg/org-contrib/babel/languages/index.html][language specific documentation]].
|
||||||
|
|
||||||
#+vindex: org-babel-load-languages
|
#+vindex: org-babel-load-languages
|
||||||
By default, only Emacs Lisp is enabled for evaluation. To enable or
|
By default, only Emacs Lisp is enabled for evaluation. To enable or
|
||||||
|
|
Loading…
Reference in New Issue