emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about links, macros + org-publish and "parametrization"


From: Fraga, Eric
Subject: Re: question about links, macros + org-publish and "parametrization"
Date: Wed, 29 May 2024 08:44:36 +0000
User-agent: gnus (Emacs 30.0.50)

Hello,

I'm not entirely sure if I am missing something but, in case it helps,
macros can themselves invoke other macros and macros can make use of
[[target][desc]] syntax directly.  Can you not build up a hierarchy of
macros that would achieve what you want, along these lines:

--8<---------------cut here---------------start------------->8---
#+macro: link [[file:t.org][$1]]

#+macro: target {{{link($1)}}}

This is some text where I can look at {{{target(blah)}}}
--8<---------------cut here---------------end--------------->8---

HTH,
eric

-- 
: Eric S Fraga, with org release_9.6.19-1230-g407a55 in Emacs 30.0.50


reply via email to

[Prev in Thread] Current Thread [Next in Thread]