REPL

Write code and the document redraws as you type. Every public function is already in scope, and doc is a new, empty document from createDocx. The preview is drawn from the bytes toUint8Array wrote, and the download is those same bytes. Nothing is uploaded: the code, the library, and the preview all run in this tab.

Code

Preview