Use angle bracket tags to refer to structural elements of code block
This commit is contained in:
parent
c2a1f16556
commit
b5bbbc1be1
16
doc/org.texi
16
doc/org.texi
|
@ -10665,23 +10665,23 @@ Using code blocks in table formulas
|
||||||
The basic structure of code blocks is as follows:
|
The basic structure of code blocks is as follows:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
#+srcname: name
|
#+srcname: <name>
|
||||||
#+begin_src language header-arguments switches
|
#+begin_src <language> <header arguments> <switches>
|
||||||
body
|
<body>
|
||||||
#+end_src
|
#+end_src
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
@item name
|
@item <name>
|
||||||
The initial name line is optional. If present it is used during code evaluation.
|
The initial name line is optional. If present it is used during code evaluation.
|
||||||
@item language
|
@item <language>
|
||||||
The language of the code in the block.
|
The language of the code in the block.
|
||||||
@item header-arguments
|
@item <header arguments>
|
||||||
Header arguments control evaluation, export and tangling of source
|
Header arguments control evaluation, export and tangling of source
|
||||||
code blocks. See the [[header-arguments][Header Arguments]] section.
|
code blocks. See the [[header-arguments][Header Arguments]] section.
|
||||||
@item switches
|
@item <switches>
|
||||||
FIXME link/relocate switches discussion in ``Literal examples'' section
|
FIXME link/relocate switches discussion in ``Literal examples'' section
|
||||||
@item body
|
@item <body>
|
||||||
The code
|
The code
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue