Engrave line numbers of generated text source blocks

This commit is contained in:
Gerard Vermeulen 2023-03-08 11:15:56 +01:00
parent 865e4a6c7e
commit 7e0bb2b96f
1 changed files with 5 additions and 5 deletions

View File

@ -5067,7 +5067,7 @@ results in listing [[lst:shell-pip-list-outdated-results]] and
#+caption[Show how to use =pip list --outdated=]:
#+caption: Show how to use =pip list --outdated=.
#+header: :wrap src text
#+header: :wrap "src text -n"
#+name: lst:shell-pip-list-outdated
#+begin_src shell :exports both :results verbatim
# WARNING: "pip index" is currently an experimental command.
@ -5078,11 +5078,11 @@ pip list --outdated
#+caption: The result of =pip list --outdated=.
#+name: lst:shell-pip-list-outdated-results
#+RESULTS: lst:shell-pip-list-outdated
#+begin_src text
#+begin_src text -n
Package Version Latest Type
------------------- ------- ------ -----
aiofiles 22.1.0 23.1.0 wheel
jupyter_server_ydoc 0.6.1 0.7.0 wheel
jupyter_server_ydoc 0.6.1 0.8.0 wheel
jupyter-ydoc 0.2.2 0.3.4 wheel
y-py 0.5.9 0.6.0 wheel
ypy-websocket 0.8.2 0.8.4 wheel
@ -5090,7 +5090,7 @@ ypy-websocket 0.8.2 0.8.4 wheel
#+caption[Show how to use =pip index versions=]:
#+caption: Show how to use =pip index versions=.
#+header: :wrap src text
#+header: :wrap "src text -n"
#+name: lst:shell-pip-index-versions
#+begin_src shell :exports both :results verbatim
# WARNING: "pip index" is currently an experimental command.
@ -5101,7 +5101,7 @@ pip index versions circular-buffer --no-color
#+caption: The result of =pip index versions=.
#+name: lst:shell-pip-index-versions-results
#+RESULTS: lst:shell-pip-index-versions
#+begin_src text
#+begin_src text -n
circular-buffer (0.2.0)
Available versions: 0.2.0, 0.1.1, 0.1.0
#+end_src