Thuna <thuna.c...@gmail.com> writes: > Here's a package which allows defining multiline Org macros via > #+BEGIN_MACRO ... #+END_MACRO: https://git.sr.ht/~thuna/org-multiline-macro > (I've also attached the elisp file here.)
Thanks for sharing! > ... > All thoughts, ideas, suggestions, and bug reports are welcome. Your package sounds like something that might be incorporated into Org mode itself - more advanced uses of Org macros often hit a barrier that complex macros are hard to write. On the other hand, making macros more sophisticated feels like re-inventing the multiple other templating systems available for Elisp, or even for Org mode itself (think about capture templates). -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>