Re: HTML export: Force links that end in .jpg or .png to be exported as a tags

2024-07-17 Thread Ihor Radchenko
Rodrigo Morales writes: > My question is: How to force a link that end in =.jpg= or =.png= to be > exported as a =a= tag instead of an =img= tag? `org-html-inline-images'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org

HTML export: Force links that end in .jpg or .png to be exported as a tags

2024-07-17 Thread Rodrigo Morales
Consider the following Org document: #+HEADER: :tangle /tmp/a.org #+BEGIN_SRC org ,#+TITLE: My document ,#+DATE: 2024-07-17 This is a link that ends in html: foo https://example.org/a.html bar This is a link that ends in txt: foo https://example.org/a.txt bar This is a link that ends in jpg: