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

2016-12-17 Thread Yehonathan Sharvit
Done On Thu, 15 Dec 2016 at 22:55 Yehonathan Sharvit wrote: > On Thu, Dec 15, 2016 at 5:50 PM, Matt Price wrote: > > > > On Thu, Dec 15, 2016 at 5:07 AM, Bastien wrote: > > Hi Matt, > > Matt Price writes: > > > Would we need a switch to permit the old syntax for people with > > complex setups

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

2016-12-15 Thread Yehonathan Sharvit
On Thu, Dec 15, 2016 at 5:50 PM, Matt Price wrote: > > > On Thu, Dec 15, 2016 at 5:07 AM, Bastien wrote: > >> Hi Matt, >> >> Matt Price 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 ca

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

2016-12-15 Thread Matt Price
On Thu, Dec 15, 2016 at 5:07 AM, Bastien wrote: > Hi Matt, > > Matt Price 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. > > The new patch in that other

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

2016-12-15 Thread Bastien
Hi Matt, Matt Price 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 customizable > ? > > Is this likely to break anything in deri

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

2016-12-14 Thread Matt Price
On Wed, Dec 14, 2016 at 5:36 AM, Bastien Guerry wrote: > That said, I think we can take this opportunity to slightly improve > how ox-html handles source code: > > - why only and not ? > Would we need a switch to permit the old syntax for people with complex setups who don't want to change? >

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

2016-12-14 Thread Bastien Guerry
Hi Matt, Matt Price writes: > Two more little things. HTML blocks can't use the standard editor so > they need an extra attribute `data-editor-style="html"` I'm not sure what you mean here: can you give an example? > Also, it would be nice if klipse had an elisp REPL since so many org > users

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

2016-12-14 Thread Yehonathan Sharvit
On Wed, 14 Dec 2016 at 19:55 Matt Price wrote: > On Wed, Dec 14, 2016 at 5:06 AM, Rasmus wrote: > > Hi all, > > >> It might be worth investigating whether you can just run Klipse on > >> blocks as that would potentially make it backward compatible. > >> Potentially, an extension to Klipse that

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

2016-12-14 Thread Matt Price
On Wed, Dec 14, 2016 at 5:06 AM, Rasmus wrote: > Hi all, > > >> It might be worth investigating whether you can just run Klipse on > >> blocks as that would potentially make it backward compatible. > >> Potentially, an extension to Klipse that recognizes Org src blocks (in > >> html) might be ni

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

2016-12-14 Thread Bastien Guerry
Hi all, thanks for adding me to this discussion! klipse + org works pretty much out of the box, which is really great. I just tested it again with a mix of Scheme and Clojure blocks, both can work together within the same HTML page. That said, I think we can take this opportunity to slightly imp

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

2016-12-14 Thread Rasmus
Hi all, >> It might be worth investigating whether you can just run Klipse on >> 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

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

2016-12-13 Thread Rasmus
Hi Matt, > In other threads I've been describing a method to allow live code snippets > to be embedded in reveal.js export, using klipse ( > https://github.com/viebel/klipse). I have to say it feels somewhat > transformative to me, and I wonder if it would be worth integrating into > ox-html. I'

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

2016-12-13 Thread Eric S Fraga
On Tuesday, 13 Dec 2016 at 14:55, Matt Price wrote: > In other threads I've been describing a method to allow live code > snippets to be embedded in reveal.js export, using klipse (https:// > github.com/viebel/klipse). I have to say it feels somewhat > transformative to me, and I wonder if it woul

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

2016-12-13 Thread Matt Price
In other threads I've been describing a method to allow live code snippets to be embedded in reveal.js export, using klipse ( https://github.com/viebel/klipse). I have to say it feels somewhat transformative to me, and I wonder if it would be worth integrating into ox-html. I'd be happy to hack t