Rudolf Adamkovič <salu...@me.com> writes: > How about: > > (defvar stacker-base > "\href{https://www.example.com/stacker/?program=%s}{execute on stacker}") > > (defun org-babel-execute:stacker (body params) > (format stacker-base > (org-link-encode body '(?? ? ?( ?) ?\n)))) >
Thanks, that's a definite improvement on my version. I feel less like I'm fighting org-mode now ;). It just needs the same ":results value latex" to insert properly into the beamer export.