From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: html export with editable/runnable js src blocks? Date: Thu, 27 Oct 2016 12:01:52 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c19d46236097c053fdaddbf Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzn88-00058M-Gg for emacs-orgmode@gnu.org; Thu, 27 Oct 2016 12:02:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzn87-0006b6-OD for emacs-orgmode@gnu.org; Thu, 27 Oct 2016 12:02:12 -0400 Received: from mail-yb0-x230.google.com ([2607:f8b0:4002:c09::230]:35780) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzn87-0006ao-JP for emacs-orgmode@gnu.org; Thu, 27 Oct 2016 12:02:11 -0400 Received: by mail-yb0-x230.google.com with SMTP id d128so22278208ybh.2 for ; Thu, 27 Oct 2016 09:02:11 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org Mode --94eb2c19d46236097c053fdaddbf Content-Type: text/plain; charset=UTF-8 I feel like I've seen people do this before but my search today did not turn up a working example online. I'd like to be able to export to html (and by extension, to a blog or a reveal.js presentation) and have my source code blocks -- at leas t the javascript ones -- placed in an editing environment that allows you to actually run the code. the idea is to help students experiment with code as you're talking about it in class. Has anyone done this? I know it's not too hard to embed codemirror or ace in aweb page, but I odn't know how to get org to set the blocks up right. Would love some suggestions or examples. Thank you! --94eb2c19d46236097c053fdaddbf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I feel like I've seen people do this before but m= y search today did not turn up a working example online. I'd like to be= able to export to html (and by extension, to a blog or a reveal.js present= ation) and have my source code blocks -- at leas t the javascript ones -- p= laced in an editing environment that allows you to actually run the code. t= he idea is to help students experiment with code as you're talking abou= t it in class.

Has anyone done this? I know it's not too h= ard to embed codemirror or ace in aweb page, but I odn't know how to ge= t org to set the blocks up right. Would love some suggestions or examples. = Thank you!

--94eb2c19d46236097c053fdaddbf--