bramses / obsidian-stack-overflow

Fetch Stack Oveflow answers and copy paste them directly into Obsidian
MIT License
33 stars 0 forks source link

Feature Request - Remove the first horizontal rule please. #9

Open willasm opened 1 year ago

willasm commented 1 year ago

If adding an url to a new blank document the top HR is treated as the start of the YAML frontmatter. This results in Obsidian displaying Metadata (Invalid YAML). I was able to remove the top one by commenting out the line...

markdown += "\n\n---";`

in main.js

It makes more sense to just have the one at the bottom. That way if I want to add more than one answer to a document, each one would be separated by a single HR rather than 2.

bramses commented 1 year ago

good point, i'll remove that, thank you