Sublime Forum

Markdown files getting re-written on save

#1

I have a YAML fragment at the top of my markdown files and use ~~~~ as a marker for code blocks in my code
However, one of the recent updates compresses the YAML block into a smaller section on less lines - so it is no longer YAML and the code block markers ~~~~ all get replaced with ``` which breaks my document generator

What is going on?

I have tried removing a number of Markdown packages and restarting sublime but so far with no success, same goes for reloading an old set of config I had saved with PackageSync

Many thanks for any help
kevin

0 Likes

#2

which version (build) of ST are you using?

0 Likes

#3

Hi Keith,

Many thanks for the rapid response!

I have two versions (on main computer and laptop) I was on 3154 on main computer but downgraded to 3153 to see if that would help - it did not. My laptop is on 3154 and also has the same issue, though its a while since I synchronised files between them

cheers
kevin

0 Likes

#4

Hi Keith

I have the answer, seems like the plugin JsPrettier is for some reason getting involved when I save a markdown file, removing this, fixes the issue!

Thanks anyway
Kevin

0 Likes