Hello, Kaushal Modi <[email protected]> writes:
> #+MACRO: sec (eval (concat "<span class=\"section-num\">" (number-to-string
> (org-macro--counter-increment $1 $2)) "</span>"))
Or,
#+MACRO: sec @@html:<span class="section-num">@@{{{n($1,$2)}}}@@html:</span>@@
> 1. Can you please document the use of eval form in Org macro definitions in
> the Org manual(.org)? Its awesome wasn't evident to me until I read that
> commit message.
Done.
Regards,
--
Nicolas Goaziou
