PoiScript / orgize

A Rust library for parsing org-mode files.
https://poiscript.github.io/orgize/
MIT License
277 stars 34 forks source link

Allow exporting of links as images in HTML #68

Closed gmemstr closed 7 months ago

gmemstr commented 10 months ago

Orgmode specifies that it treats links with an image suffix and no description as an embedded image, and as such should render as an img tag in HTML.

This code could probably be optimized with some regex, or be made configurable as it is with org, but this will get us started.

https://orgmode.org/manual/Images.html

PoiScript commented 7 months ago

Thanks you for contributing! Image link is now supported in v0.10:

image