5 ms·
I am considering doing something similar, but embedding “livebook” bits so that I can run code & liveviews right in the middle of my posts in the future. Curio
by thibaut_barrere 7mo ago
I am considering doing something similar, but embedding “livebook” bits so that I can run code & liveviews right in the middle of my posts in the future.
Curious to know if anyone went that route (or something similar) already!
- arikrahman 7mo agoI have done this but with Clojure, I needed to use a dynamic language with responsible state management (via Re-frame), but also had a good REPL. Seamless REPL integration with the language itself made it easier as most of the tools I needed were pre-existing.
- deleted 7mo ago[deleted]
- jamauro 7mo agothis might be of interest to you https://popcorn.swmansion.com https://popcorn.swmansion.com
- fouc 7mo agoAfter a quick search it seems like support for embedding livebook is limited, the livebook devs didn't have any interest in working on that, the best you've got is that it can work in iframes while running off a different port perhaps. iframe support was added ~2023. Some JS might be needed to forward some events like cmd+c/v/x.