Rudi C writes:
> Thanks, that works great. Can these work with ID links, too?
> (`[[id:9bbb6468-2907-4e74-a4d1-2e391e33e0fe::...]]`)
Yes, on the latest main, where we support search strings in id: links.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at
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
>
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
How do I link to a specific line in an org-babel block?
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.)
PS: Please use Reply to All.