mdSilo / mdSilo-app

Lightweight Knowledge Base and Feed Reader.
https://mdsilo.com/
GNU Affero General Public License v3.0
565 stars 39 forks source link

Externally edited file with syntax issue gets silently deleted #560

Closed eMPee584 closed 6 months ago

eMPee584 commented 11 months ago

I'm just starting to move my workflow of storing learnings in telegram saved messages stream to mdSilo. So I put a <code> snippet in a bullet list and wanted to get rid of the empty line at the start (same issue with YT videos in bullet lists): mdSilo-formatting-issue But wasn't able from within the interface. I then fired up vim, removed the line break and spaces to match up the tick³, saved - and the file was gone. It's reproducable, seems mdSilo eats any file it doesn't like the syntax of.. this is my test case terminal-tricks.md file:

### ripgrep
- ```
         -p, --pretty
             This is a convenience alias for --color always --heading --line-number.
             This flag is useful when you still want pretty output even if you’re
             piping ripgrep to another program or file. For example: rg -p foo | less
             -R.
``` # comment because of nested code block, remove

This is mdSilo 0.5.7 on debian unstable.

danloh commented 7 months ago

Actually, I tried but cannot reproduced the issue. I will continue to try.

danloh commented 6 months ago

I still cannot reproduce. I am closing this, feel free to reopen it with more details. Thanks.