all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* teaching with live-updating code examples
@ 2016-12-08 18:07 Matt Price
  0 siblings, 0 replies; 6+ messages in thread
From: Matt Price @ 2016-12-08 18:07 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

I am preparing a set of lectures for a class teaching HTML, CSS, and
javascript ot humanities students.

I would like to have slides with a simple code editor on one side, and the
results of the code on another:

------------------------------------------------------------------------
| [1,2,3].map(function(x){return x + 1;})   |   Array[2,3,4] |
------------------------------------------------------------------------

or in other cases

------------------------------------------------------------------------
|<h1>Hello</h1>    | Hello in appropriate format      |
-------------------------------------------------------------------------

The former, at least, is pretty straightforward to do in CodeMirror with
the klipse plugin.  However, codemirror integrates poorly with reveal.js,
which is how I normally export my slides.

So, I'm looking for other solutions. What do other people do in lecture?
I'd really like to be able to keep all my notes and code in a single org
file, if at all possible.  I'm willing to switch away from reveal, but
since this is a course about the web I'd really like to kep it in an HTML
format if I can.
On the other hand if you have a great solution I'd love to hear about it no
matter what!


Thanks everyone!

Matt

[-- Attachment #2: Type: text/html, Size: 1529 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bcd5ea41e88d4128ab2103df173ec879@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>]

end of thread, other threads:[~2016-12-10  5:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-08 18:07 teaching with live-updating code examples Matt Price
     [not found] <bcd5ea41e88d4128ab2103df173ec879@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-12-09  6:33 ` Eric S Fraga
2016-12-09 16:42   ` Matt Price
     [not found]   ` <68509a97983e4d4e9eaca4922725c87a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-12-09 17:19     ` Eric S Fraga
2016-12-10  4:59       ` Matt Price
2016-12-10  5:19       ` Matt Price

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.