Help with MD formatting

Hi, I have created (well, chatgpt created it actually) a custom script which collects my location meteo, daily events from Calendar and daily reminders (only those expiring today) to be used as a daily journal template.
I first tried to ask chatgpt to do it using AppleScript but it was too slow. I then asked to use swift (using a json parser for the meteo part) and now I think I am satisfied with the output (it’s in Italian):

The only problem is that in source view (left) I see all meteo values listed correctly (with a newline after every event) but in preview view (right) it’s all in a single line.
What can I change to get it listed as in source view?
Thank you

Welcome @Tech_in_IT
Enable the Files > Markdown > Force line breaks setting, then reselect the document.

Thank you :slight_smile:

You’re welcome.
Bear in mind, that’s only a cosmetic effect and not guaranteed to work in other Markdown editors. A double space before a linebreak is the proper Markdown syntax.

ok, anyway my intention is to get rid of any other note app. The only reason that kept me from using Devonthink in the past is the appearance of the built in template for daily notes, but this script gives me the look I was looking for
I’ll do some tests in chatgpt to append a double space after each line in meteo section,
Thank you again

My pleasure. :slight_smile: