On 10/01/2020 9:23 am, sergio ruiz wrote:
* 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

You can use elisp code to look up the property you want to pass as a variable:

#+BEGIN_SRC shell :var url=(org-macro--get-property "url" "")
curl $url
#+END_SRC


Reply via email to