kevinbanjo <kevinba...@gmail.com> writes:

>> 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 &gt and &lt (I'm trying to generate
> php code).
>
> Any idea how to fix that?

Use inline src block or an inline call to the src block.

Best,
Ihor

Reply via email to