Sebastian Rose <sebastian_r...@gmx.de> writes: > Ulf Stegemann <ulf-n...@zeitform.de> writes: >> When writing documentations I often come across expressions like >> >> doMagic('myVariable') >> >> In an ideal world the HTML code for this after exporting the org file >> would look like this: >> >> <code>doMagic('<var>myVariable</var>')</code> > > > Example: > > > #+MACRO: macname (eval (format "Macro says '%s'" $1)) > > * Some headline > > {{{macname("Something to say here")}}} > > > > It does _not_ work without the `eval'. > > > > See: > > http://orgmode.org/Changes.html#sec-2.1.1 >
Can someone here tell me, what I read when looking at the OP's email? This works, but not in #+BEGIN_SRC or ` : ' protected: @<code>doMagic('@<var>myVariable@</var>')@<code> Sebastian _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode