Thanks, that works great. Can these work with ID links, too? (`[[id:9bbb6468-2907-4e74-a4d1-2e391e33e0fe::...]]`) On Sun, Mar 17, 2024 at 4:47 PM Ihor Radchenko wrote: > Rudi C writes: > > > How do I link to a specific line in an org-babel block? > > a.org: > > #+begin_src emacs-lisp > (message "Hello world!") > (message "Hello other worlds!!!") ; (ref:greetworlds) > #+end_src > > b:org > [[./a.org::(greetworlds)]] > > See https://orgmode.org/manual/Literal-Examples.html > > > I tried using [[file:.../my.org::search-term]] , but this only works for > > jumping to a heading, not an arbitrary line. (It does work for non-org > > files.) > > That's because "search-term" is used for fuzzy search, which is limited > to headings by default. You can customize > `org-link-search-must-match-exact-headline' to change this. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at >