I'm still in the process of moving the documentation to this place. For now, you can find the documentation in the respective README:
{% embed url="https://github.com/yjs/y-codemirror/" caption="" %}
{% embed url="https://stackblitz.com/edit/y-codemirror" %}
{% embed url="https://stackblitz.com/edit/y-codemirror" %}