I've been writing something similar that keeps evolving, although computable code blocks and markdown have been in there since v1. Runs locally, saves to LocalStorage and is always in a partially broken state because I add more things than those I fix: https://github.com/rberenguel/weave
And a couple recent-ish updates (sadly twitter, because I use it as throw-devlog-there):