Log in Sign up

Org-Mode link syntax?

Typically when linking to another file in org-mode you would use this syntax:

file:path/to/file.org

However this doesn't work in blot. I'd love if this syntax would be implemented as C-c C-l defaults to this behavior.

If this isn't possible with blot, what is the preferred syntax?


9 months ago, 8 replies   org   links   Edit question

Blot uses pandoc to handle org mode files, so their features are our features right now:

Pandoc docs on Org

I will take a look and follow up with you about the link syntax

Answered a year ago · Edit answer

Ah, a quick search on the pandoc page you sent, doesn't seem to support links. I'd love to know what format for links are supported!

Answered a year ago · Edit answer

The following syntaxes work for links:

[[vcg3rd.net][Link To]]

[[https://github.com/jgm/pandoc/issues/6916][Bug]]

I have now documented this on the Org-mode page

Answered 9 months ago · Edit answer

I would love if the standard syntax for org-mode links, like was implemented for images, [[file:_clock.png]] would be implemented for org-mode files like [[file:test.org]]. This would allow org-mode users to follow links inside of emacs with the standard org-follow-link command.

In the meantime, I've tried these various link formats for internal links, and still can't get linking to work. I have two files in the same directory, test.org and another-test.org. In test.org I have the following:

[[file:another-test][another test]]

[[another test][another test]]
[[another-test][another-test]]
[[another-test.org][another-test.org]]

None of these version are working. You can see the output at my blog org test page

Answered 9 months ago · Edit answer

The ideal syntax, which would allow for normal emacs commands when linking between files would be [[file:another-test.org][another test]] or [[file:another-test.org]].

Answered 9 months ago · Edit answer

Sounds good, I will make that work for links between org mode files

Answered 9 months ago · Edit answer