Hello,
I'd like to call an arbitrary elisp function over an org-mode snippet in a code block identified by
BEGIN_SRC and END_SRC.
Specifically, I want to run `org-icalendar-export-to-ics` over the following
org-mode agenda entry:
#+NAME: run-me
#+BEGIN_SRC org :results output
,* Meet friends
:PROPERTIES:
:LOCATION: At Stacy's
:NOTES: Be on time
:DESCRIPTION: The good season has just begun
:END:
<2025-05-28 Wed 20:00-22:00>
#+END_SRC
The expected result should be the output of `org-icalendar-export-to-ics`.
I've tried reading these pages of the documentation that looked to me relevant but I could not
extract the core idea I needed
https://orgmode.org/manual/Working-with-Source-Code.html
https://orgmode.org/manual/Evaluating-Code-Blocks.html
Do I need to enable anything in `org-babel-do-load-languages`?
Any help?
Thanks