|
From: | Mike Gauland |
Subject: | Re: Accessing properties in code blocks |
Date: | Fri, 10 Jan 2020 09:40:26 +1300 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 |
On 10/01/2020 9:23 am, sergio ruiz wrote:
You can use elisp code to look up the property you want to pass as a variable:* Report section :PROPERTIES: :url: http://www.googole.com :END:I'd like to have several sections like this. Each section woudl have different values for the same property. They would make different calls to respective url. something like#+BEGIN_SRC shell curl <url_property_here> #+END_SRC
#+BEGIN_SRC shell :var url=(org-macro--get-property "url" "") curl $url #+END_SRC
[Prev in Thread] | Current Thread | [Next in Thread] |