[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: |
Thu, 25 May 2023 10:50:19 +0000 |
copropriete27ruemoret@gmail.com writes:
> [ For some reason, an answer posted yesterday seems to have been lost.
> Rewriting/reposting... ]
You did not CC Org mailing list.
> Nice answer ! I suppose that this is more a misdesign than a bug (limited
> goals of Dyalog,that emacs-jupyter cannot alleviate).
>
> Your suggestion worked. But now, I have to pass to my `:post` function
> various arguments that a "normal" source block handler should have done. Is
> there a way for the `post` function to access the (say..) `:results`,
> `:file`, etc... arguments of the source block ?
`org-babel-current-src-block-location' holds the location of the current
src block being executed. You can use it to determine header arguments
of your src block.
--
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>