emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to convert an HTML export bloc to a normal Org Babel output ?


From: Ihor Radchenko
Subject: Re: How to convert an HTML export bloc to a normal Org Babel output ?
Date: Wed, 24 May 2023 12:16:39 +0000

Emmanuel Charpentier <emm.charpentier@free.fr> writes:

> #+begin_src jupyter-apl :exports both :results raw :post 
> html2text(data=*this*)
>   ⍳7
> #+end_src
>
> #+RESULTS:
> #+begin_export html 
>
> 1 2 3 4 5 6 7
> #+end_export 
>
> but what /enrages/ me is that the (correct) result is still wrapped in an 
> HTML block ; again, I have been
> unable to obtain a "normal" output.

Check if jupyter-apl has default :wrap header arg. If not, it directly
adds #+begin/end_export lines and the best you can do is (1) report it
as a bug; (2) manually filter out begin/end_export in your :post function.


-- 
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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]