I’m writing a document in org-mode that contains a lot of code fragments, like:
#+begin_src clojure
(+ 1 2 3)
#end_src
Is it possible to make a reference to such a fragment, so I can say in text: in this [[frag1][fragment]] the sum of 1, 2 and 3 is calculated?
Btw, I’m exporting the org document as latex/pdf and html.
Maybe it helps you: