On Wed, Dec 25, 2024 at 8:47 AM Ihor Radchenko wrote: > > Nikolaos Chatzikonstantinou writes: > > > Finally a highlight of the hacks I had to pull off: apparently > > #+INCLUDE: will strip away inline backend information such as > > @@html:@@. I figured out that if I write something like > > @@html@@a:@@:@@, only the inner @@a:@@ is recognized and stripped, > > which leaves me with what I originally wanted! (see > > ) > > May you show more concrete example? > #+INCLUDE by itself does not remove export snippets. It must not be #+INCLUDE then, but sitemap.org generation itself, I misremembered when I wrote the e-mail. Here's a reproducer, see attachment. Have this index.org file in its own directory and publish it. Then view public/sitemap.html. You will see that the @@BACKEND:@@ stuff has been stripped away in the first sitemap entry instance, while in the second it is there. When inspecting the generated sitemap.org you will see the following line: - Without italics: [[file:./index.org][index]], 2024-12-26 -- With italics: [[file:./index.org][index]], @@html:@@2024-12-26@@html:@@ Regards, Nikolaos Chatzikonstantinou