|
From: | Matt Price |
Subject: | Re: [O] allow live execution of code snippets in html export |
Date: | Thu, 15 Dec 2016 10:50:22 -0500 |
Hi Matt,
Matt Price <address@hidden> writes:
> Would we need a switch to permit the old syntax for people with
> complex setups who don't want to change?
Yes. We need to be more careful on being backward compatible.
> - make src-clojure in <pre class="src src-clojure"> customizable
> ?
>
> Is this likely to break anything in derived exporters? It would
> certianly be convenient e.g for using highlight.js in wordpress in
> similar environments.
Yes.
> This seems like a good idea and pretty easy.
I will think more about this.
> I odn't really quite understand the problem and solution parameters.
> Since Yehonathan is here on this thread and enthusiastic about
> helping out: is there something he could do to make this feasible for
> us? Or by "more general mechanism" do you mean some third way
> between bundling and linking to?
One way to solve this on Yehonathan's side is to update klipse.js and
follow the instruction on librejs on how to make librejs accept the js
code as "safe":
https://www.gnu.org/software/librejs/free-your-_javascript_. html
I don't know how much work is involved in this, though.
--
Bastien
[Prev in Thread] | Current Thread | [Next in Thread] |