Dealing with external sync


#1

I’ve been using Insync (warning: paid software) to sync up a directory containing my markdown files to Google Drive. This allows me to use plain old vim to do the bulk of my markdown editing, and StackEdit for smaller touch-ups and formatted Markdown viewing.

This seems to work relatively well, but I’ve noticed that StackEdit adds a base64 encoded “stackedit_data” snippet at the end of the file even when no changes were made on the browser. Because of that, vim always report a change in the file it just saved (it was copied to Google Drive via Insync, synced to StackEdit which also changed stackedit_data, re-saved to Google Drive by StackEdit, and reloaded to my workstation via Insync).

What exactly does this metadata contain? Is it harmful if I accidentally overwrite it with older data?

Thanks