[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] is it possible to reuse a capture template expansion?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] is it possible to reuse a capture template expansion? |
Date: |
Tue, 04 Oct 2016 19:10:10 +0200 |
Hello,
Stig Brautaset <address@hidden> writes:
> I've got a capture template where I want to prompt for a string and use
> it in two places, but I end up being prompted twice. I want a template
> something like the below, and be prompted only once each for Title and
> Abstract. Is that possible somehow? Any help appreciated.
>
>
> : * TODO Write %^{Title} Blog post
> : #+begin_html
> : ---
> : title: %^{Title}
> : layout: post
> : abstract: %^{Abstract}
> : ---
> : #+end_html
> :
> : %^{Abstract}
> :
> : %?
You can use %1, %2... to reuse the first string, the second one...
Regards,
--
Nicolas Goaziou