Hacker News new | ask | show | jobs
by jclem 3740 days ago
If you're asking what we're storing in the database, that data is a plain string with some special delimiters in it denoting line types and metadata about the content.

At the application level, we're typically working with a version of that data that's structured a little bit more like this: https://usecanvas.com/about/canvas/55h8GVkBfi5Lnr2Becv5tB.js...

Currently, exporting your canvas will give you the format above, or `.markdown`, or `.html`. To answer your second question, we use operational transformation for the collaborative part of the platform, so we do have some history of operations on a canvas, but haven't quite decided for how long we'll be retaining that history and how we can best make it available to users.

1 comments

Nice, that definitely answers my question. When you do decide on how to export history please write a blog post or something about it, I'm curious to see what you come up with.