Peter Salazar <cycleofs...@gmail.com> writes: > Thanks. I do need it only on export, but even so, it doesn't seem to be > working: > > http://i.imgur.com/1tMGaHz.png > > Again, it's inside an HTML code block. Not sure if there's a way to make it > work inside that block? >
I don't think so. The doc says "...which can be referenced in paragraphs, verse blocks, table cells and some keywords". I'm not sure why macro expansion is restricted like that. Maybe Nicolas will chime in. > #+BEGIN_HTML > ... > <div class="page-header"> > <h1>{{{title}}}</h1> > </div> > ... > #+END_HTML > >> {{{title}}} should do it. See >> >> (info "(org) Macro replacement") > > Actually, I'm not sure it will do: macro replacement takes place during > export, so it may or may not be enough, depending on what you really > want to do. > -- Nick