Fork me on GitHub
#klipse
<
2019-05-19
>
Bobbi Towers01:05:07

Sure, I'm working on a little app for editing code in the browser, a live-notebook generator kind of like an extremely crude version of Jupyter or Nextjournal, using KLIPSE snippets and Selmer templates purely because I love the way it continuously evaluates the code as you are typing it. In order to save my work, however, I need to copy the contents of the snippet and paste it into my source file. What I'd like to do is serve the page with Ring or something so I could have a save button on the page that would fetch the contents of the DOM container and spit it out to a file.

Bobbi Towers01:05:48

...or perhaps I need to dig into how Codemirror works?