teesloane / firn

Org Mode Static Site Generator
Eclipse Public License 1.0
325 stars 24 forks source link

Allowed image extensions #52

Closed mroman42 closed 4 years ago

mroman42 commented 4 years ago

When adding images as Org attachs (https://firn.theiceshelf.com/static-assets#org-attachments), some image extensions seem to be recognized (.jpg, .png), but others are not (I tried .jpeg and .svg). I am guessing that there is some function on the code that decides what to consider an image to be inlined. Is it possible to get Firn to also interpret things like .svg or .jpeg as images?

PD: Firn is amazing compared to everything else I tried. Thank you for this project!

teesloane commented 4 years ago

Thank you for the kind words @mroman42 — I'm glad this project can be of use to others beyond me! Looks like @yosevu has patched this already, so we should be good to get this up in 0.0.10 when it releases (hopefully sometime before the end of the week).