Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orgmode: image extensions #6472

Closed
tbruckmaier opened this issue Jun 19, 2020 · 0 comments
Closed

Orgmode: image extensions #6472

tbruckmaier opened this issue Jun 19, 2020 · 0 comments

Comments

@tbruckmaier
Copy link

Follow-up from #5454: Right now, pandoc does not recognize certain extensions in orgmode as images, and therefore converts them into a link. Specifically uppercase extensions like PNG do not work:

$ echo "[[file:test.png]]" | pandoc -f org -t html
<p><img src="test.png" /></p>

$ echo "[[file:test.PNG]]" | pandoc -f org -t html
<p><a href="test.PNG">file:test.PNG</a></p>

$ pandoc --version
pandoc 2.9.2
Compiled with pandoc-types 1.20, texmath 0.12.0.1, skylighting 0.8.3.2

Maybe n the first step, the recognition can work case-insensitive.

And in the future it would be nice to have the extension list configurable. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants