just the other day, I was wishing that I could turn Google Docs into a markdown editor, so that I could share it with others. At the moment I have to convert everything in to Markdown afterwards, so this is perfect for me.
Great stuff! :)
You can check out a sample document here: https://extensions.standardnotes...
Source code is available here: https://github.com/standardnotes...
The editor relies on an impressive client-side library called ChainPad, which uses blockchains as inspiration for determining the authoritative document after conflicts or many simultaneous edits. Typically operational transformation algorithms and systems to manage conflicts are handled by the server, precluding the possibility for end-to-end encryption.
However, ChainPad runs completely on the client-side, and is oblivious to the underlying text, thus allowing us to encrypt text client-side before broadcasting to other participants and the broadcast server.
This is the first major effort I've seen for a real time client-side collaboration algorithm, and its use of a blockchain type structure is ingenious.
More info on ChainPad here: https://github.com/xwiki-contrib...