Hello, Ihor Radchenko <yanta...@posteo.net> writes:
> Michael Welle <mwe012...@gmx.net> writes: [...] >> {{{img(./foo, foo, barfoo)}}} >> >> That kind of works (and breaks if I want commas in the caption) > > Re: commas. See 13.5 Macro Replacement I found that shortly after posting. Works as expected. > (1) Since commas separate the arguments, commas within arguments have > to be escaped with the backslash character. So only those backslash > characters before a comma need escaping with another backslash > character. > >> , but is >> ugly as... and doesn't get better if I implement the other output formats. > > Agree. The proper way to implement this is special blocks + custom > export filter that will take care about backend selection. > > Also, see https://list.orgmode.org/orgmode/87y1yr9gbl....@gmail.com/ > referring to https://github.com/alhassy/org-special-block-extras/ Ah, that looks promising. Thank you! All the best hmw