[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: substitutions in html export?
From: |
Ihor Radchenko |
Subject: |
Re: substitutions in html export? |
Date: |
Mon, 18 Jul 2022 12:35:43 +0800 |
kevinbanjo <kevinbanjo@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 > and < (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
Re: substitutions in html export?, kevinbanjo, 2022/07/17