codimd icon indicating copy to clipboard operation
codimd copied to clipboard

Write note to filesystem if file exists

Open daniele-athome opened this issue 5 years ago • 2 comments

This patch writes note content back to the filesystem if a file exists in the public docs path. This can be a first step towards the real objective of #90 maybe?

Please note that this doesn't address the fact that notes loaded from docsPath are set with a null user owner ID so they are not actually editable. You need to update the row in the database for that. I believe that part should be addressed in another way (I was thinking something like per-user docsPath)

daniele-athome avatar Apr 30 '20 18:04 daniele-athome

Hi @daniele-athome, I think this is great! It will be better if there is a config to enable/disable this feature.

jackycute avatar Jun 05 '23 03:06 jackycute

I'm sorry but I stopped using CodiMD :cry:

daniele-athome avatar Feb 12 '24 13:02 daniele-athome