Obsidian on the web Using Prosemirror

I believe CodeMirror would be a better fit for a project like this.

From Obsidian docs:

Obsidian uses CodeMirror (CM) as the underlying text editor, and exposes the CodeMirror editor as part of the API

1 Like