scottashipp / noted

Lightweight CLI for taking markdown notes in a journal-like (time-seried) fashion
GNU General Public License v3.0
88 stars 27 forks source link

Compatibility fix for horizontal rule #4

Closed SitramSoft closed 2 years ago

SitramSoft commented 2 years ago

I use code-server installed in a headless VM to test noted and I have an issue when creating a new md file. I don't see in the md preview, the first entry.

After a little bit of digging online, I found a Markdown guide which states that for compatibility it is better to add a new line before and after a horizontal rule. Adding a new line at the beginning of the file fixed this.

On GitHub the first entry is displayed correctly with existing version of the script.

scottashipp commented 2 years ago

Thanks for reporting that @SitramSoft I like the change and am merging it.