emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] allow live execution of code snippets in html export


From: Rasmus
Subject: Re: [O] allow live execution of code snippets in html export
Date: Wed, 14 Dec 2016 11:06:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Hi all,

>> It might be worth investigating whether you can just run Klipse on <pre>
>> blocks as that would potentially make it backward compatible.
>> Potentially, an extension to Klipse that recognizes Org src blocks (in
>> html) might be nice.
>>
> I think that should be pretty straighforward.

Yeah, the link in Bastien's twitter post shows there's already a setting
for it

    <script type="text/javascript">window.klipse_settings = {selector: 
'.src-clojure'};</script>

I don’t know if much more support is needed.  We add some automatic
configuration scripting or add a per-block switch for enabling klipse.

>> The Klipse license is GPL3.
>>
>
> Is org GPL2 or GPL3? Are there any compatibility issues between the two?

No, it was meant as a compliment of a sort.

> If the license permits, and there's a precedent, we could bundle the
> scripts with org.

The Mathjax that ox-html pointed to used to be hosted on orgmode.org until
Mathjax recommend their own CDN.  The problem with that solution is that
it would not be kept up-to-date.

Perhaps there’s no issue with potentially pointing to a Google server, I’m
probably on the more paranoid side on this issue.

Thanks,
Rasmus

-- 
Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio



reply via email to

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