Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [org-link]

The org-link tag should be used for questions about links in org-mode files. This is a feature of org-mode that allows users to include hotlinks to org headings within the same file, to other files on the same computer (e.g. text, emails, pdfs), to urls for internet resources. Additional link types are provided by external packages.

Filter by
Sorted by
Tagged with
11 votes
1 answer
1k views

Fontify broken links in org-mode

If I create a bad [[file:link]] or an internal [[Link]] that does not exist, I would like to org-mode to fontify this using org-warning face. How can I get this done? Thanks,
Adam's user avatar
  • 1,897
8 votes
1 answer
2k views

Org-mode custom youtube link syntax

I would like to define a custom org-mode link, which accepts the following syntax: [[yt:<video ID>]] and produces an image link equivalent to this: [[https://youtu.be/<video ID>][http://...
Adam's user avatar
  • 1,897
13 votes
1 answer
6k views

Org-Mode: Link files with IDs and not Filenames

I want to use Org-Mode as a wiki so I need to have an index of all my org files. In it I want to have a list of links to all those files, but my problem is that I have found no way to link pages with ...
Adam's user avatar
  • 2,467
11 votes
1 answer
2k views

How to expand external files inline on orgmode?

I know I can use something like #+INCLUDE: "./filepath" but this has effect only when I export the file. I can also use link like [[./filepath]] but I have to type C-c C-o to go to the content. How ...
Felipe's user avatar
  • 241
4 votes
0 answers
2k views

How to embed external file contents in org file?

I'm creating a simple bash tool that uses various flags/arguments from the user, and I'm using an org file for the documentation. I have several examples and I'd like to include some explanation of ...
haff's user avatar
  • 218
5 votes
3 answers
537 views

Is there a way to create an org-mode link that opens help?

For example: * Purpose Keep some notes to elisp functions. [[link:elisp-func][elisp-func help]] I want to open the link via C-c C-o which would show a buffer with help as though I had ran instead: C-...
lucidquiet's user avatar
4 votes
1 answer
3k views

How can I get with org-store-link relative path instead of absolute?

How can I get with org-store-link relative path instead of absolute? I tried M-x customize-variable RET org-store-link, but did not work. Or do I have to customize it anywhere else?
tester's user avatar
  • 473
3 votes
1 answer
1k views

Validate internal fuzzy links in org-mode

Is there a function that will validate internal fuzzy links in org-mode? I would like to see which links resolve to headers (fontified in blue) and which ones are broke (fontified in red). John ...
Adam's user avatar
  • 1,897
2 votes
1 answer
423 views

Changing the default binding to open a link in an org mode file using RET

To open a link in an org-mode file one normally types C-c C-o. I find this rather cumbersome. I would like to rebind the command org-open-at-point to RET but only when the cursor rests on the link. I ...
Edman's user avatar
  • 1,229
1 vote
1 answer
580 views

How to open a file (from an org link) within current window?

When I do C-c C-o on an org link it opens the org file in a new window. This is fine, but sometimes I'd prefer to open org files within the current window, creating a new key binding for the matter (...
crocefisso's user avatar
  • 1,353
1 vote
1 answer
649 views

org-publish-project fails because of defective org-links - repair links automatically or ignore them?

I'm trying to "quickly" export my notes ans tasks from org-mode to a html-page with org-publish-projects. I had a working setup some years ago and I'm trying to reactivate it, but doing the export ...
p.m's user avatar
  • 153
0 votes
1 answer
81 views

How to create an org-link (pointing to an org file) by automatically following a predefined naming scheme?

I'm not yet interested in using Zettelkasten Method to organize my org files. I just use a hierarchical index (index.org). So I don't have the use of packages such as org-roam or denote. However, I'm ...
crocefisso's user avatar
  • 1,353
0 votes
0 answers
145 views

org-mode "prettifies" URL links, but not file links

The org-mode documentation says that Once a link in the buffer is complete, with all brackets present, Org changes the display so that ‘DESCRIPTION’ is displayed instead of ‘[[LINK][DESCRIPTION]]’ ...
Caleb Jay's user avatar
  • 319
0 votes
1 answer
897 views

org-return-follows-link with org-wikinodes?

I've noticed that placing (setq org-return-follows-link t) in your init.el has no effect on links created by org-wikinodes.el. When you hit (or RET), it just cuts the link in half... One point to ...
Adam's user avatar
  • 1,897