Nicolas Code snippets are not getting numbered... Also take a look at `org-export-resolve-coderef'.
The below example is from (info "(org) Literal examples") --8<---------------cut here---------------start------------->8--- #+BEGIN_SRC emacs-lisp -n -r (save-excursion (ref:sc) (goto-char (point-min)) (ref:jump) #+END_SRC In line [[(sc)]] we remember the current position. [[(jump)][Line (jump)]] jumps to point-min. --8<---------------cut here---------------end--------------->8---