The Jupytext plugin is serving Markdown which the front-end is then trying to parse as JSON. Keep an eye on https://github.com/jupyterlite/jupyterlite/discussions/731.