i’ve been keeping a list of my favourite podcast episodes for a couple-few years now.
without any further thought i used a standard text structure/layout when sharing them from Overcast. first to evernote and now i’ve switched to DTTG.
everything was fine until i turned on both PlainTextIsMarkdown and RenderMarkdown hidden preferences on – now the first line in every text document is cut off (when in Best Alternative view which is set as default).
i’m not sure if i’m doing something wrong or if it’s some kind of an issue with markdown rendering in DT.
would be glad if you could help me out on this one.)
p.s. two images with the exact same note in Text Alternative and in Best Alternative views
first thought – how am i going to add a blank line to every single (out of 100s) text files.
but your reply got me reading about multimarkdown metadata and i’ll just have to figure out a way to make a markdown heading out of every single first line.)
Here’s a simple approach to adding a Markdown header (in this case an H2)…
tell application id "DNtp"
repeat with thisRecord in (selection as list)
tell thisRecord to do shell script "sed -i '' '1 s_^_##_' " & (quoted form of (path as string))
end repeat
end tell