Skip to content

org-mode reader does not support `[[file:filename]]` link format for images #2684

Closed
pmagwene opened this Issue · 1 comment

2 participants

@pmagwene

Org's default file link format is to include [[file:filename]]. It would be great if Pandoc could support this for conversion of image links. Currently this require manual intervention to convert to the more Pandoc friendly [[filename]]

@tarleb

Whops, yeah, that's wrong. [[file://img.jpg]] does work, with just [[file:img.jpg]] the file: prefix isn't dropped from the link.

@tarleb tarleb added a commit to tarleb/pandoc that referenced this issue
@tarleb tarleb Org reader: Refactor link-target processing
Cleanup of the code for link target handling.  Most notably, the
canonicalization of a link is handled by a separate function.

This fixes #2684.
1f5e23e
@tarleb tarleb added a commit to tarleb/pandoc that referenced this issue
@tarleb tarleb Org reader: Refactor link-target processing
Cleanup of the code for link target handling.  Most notably, the
canonicalization of a link is handled by a separate function.

This fixes #2684.
92e6ae4
@jgm jgm closed this in #2691
@c-forster c-forster pushed a commit to c-forster/pandoc that referenced this issue
@tarleb tarleb Org reader: Refactor link-target processing
Cleanup of the code for link target handling.  Most notably, the
canonicalization of a link is handled by a separate function.

This fixes #2684.
7444449
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.