Plus org-babel lets me pull tricks like this:
I want to insert certain HTML fragments in some pages, arbitrarily. There is no sensible way to automate it. BUT, I can source my HTML templates inside any org file, and manually expand it in-line. Like so:
#+BEGIN_SRC bash :results raw html :exports results
source ../bin/templates.sh
shite_template_common_org_inline_sales_banner "."
#+END_SRC
#+RESULTS:
#+begin_export html
<the neatly in-lined HTML>
#+end_export
That expands to this sales banner https://www.evalapply.org/index.html#standing-invitation (which is also expanded similarly in my hire.org and now.org pages).Nifty!!!
[1] https://github.com/adityaathalye/shite/ is my little hot-reloadin' site maker from shell. I write all of https://evalapply.org with it!
[2] Recently discussed at HN: https://news.ycombinator.com/item?id=43157672 "Why and How I use “Org Mode” for my writing and more (2022)"