mdSilo-app icon indicating copy to clipboard operation
mdSilo-app copied to clipboard

Externally edited file with syntax issue gets silently deleted

Open eMPee584 opened this issue 2 years ago • 0 comments

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.

  • [x] I'm willing to submit a PR!

eMPee584 avatar Oct 16 '23 10:10 eMPee584