klipse

porkostomus 2019-05-19T01:43:07.020Z

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.

porkostomus 2019-05-19T01:47:48.020500Z

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