Merge branch 'bugfix'
This commit is contained in:
commit
52bde22b9d
|
@ -11615,13 +11615,15 @@ see [[*Structure Templates]] for shortcuts to easily insert code blocks.
|
||||||
#+end_example
|
#+end_example
|
||||||
|
|
||||||
Both in =example= and in =src= snippets, you can add a =-n= switch to
|
Both in =example= and in =src= snippets, you can add a =-n= switch to
|
||||||
the end of the =#+BEGIN= line, to get the lines of the example
|
the =#+BEGIN= line[fn::In the =src= snippets, switches must be placed
|
||||||
numbered. The =-n= takes an optional numeric argument specifying the
|
right after the language name and before the [[*Structure of Code
|
||||||
starting line number of the block. If you use a =+n= switch, the
|
Blocks][header arguments]]], to get the lines of the example numbered.
|
||||||
numbering from the previous numbered snippet is continued in the
|
The =-n= takes an optional numeric argument specifying the starting
|
||||||
current one. The =+n= switch can also take a numeric argument. This
|
line number of the block. If you use a =+n= switch, the numbering
|
||||||
adds the value of the argument to the last line of the previous block
|
from the previous numbered snippet is continued in the current one.
|
||||||
to determine the starting line number.
|
The =+n= switch can also take a numeric argument. This adds the value
|
||||||
|
of the argument to the last line of the previous block to determine
|
||||||
|
the starting line number.
|
||||||
|
|
||||||
#+begin_example
|
#+begin_example
|
||||||
,#+BEGIN_SRC emacs-lisp -n 20
|
,#+BEGIN_SRC emacs-lisp -n 20
|
||||||
|
|
Loading…
Reference in New Issue