On Sun, Jul 17, 2022 at 11:54 AM Berry, Charles <ccbe...@health.ucsd.edu> wrote:
> Kevin, > > > On Jul 17, 2022, at 10:18 AM, kevinbanjo <kevinba...@gmail.com> wrote: > > > > > > > > On Sun, Jul 17, 2022 at 7:24 AM Ihor Radchenko <yanta...@gmail.com> > wrote: > > See inline calls in > https://orgmode.org/manual/Evaluating-Code-Blocks.html#Evaluating-Code-Blocks > > <snip> > > The export block provides text that is to be used "as is" by the html > backend. So, "call_numbers()" is treated as html. > > You need to construct the export block programmatically. Maybe something > like > > #+begin_src emacs-lisp :results html :exports results :var num=numbers() > (format "the result is %d" num ) > #+end_src > > The problem with that is when I export I get <p> </p> both above and below the result (even though I added :results output raw) and I need it inline plus it's changing my angle brackets to > and < (I'm trying to generate php code). Any idea how to fix that? -Kevin