bramses / obsidian-stack-overflow

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

Support extracting questions as well as answers #5

Open 0xdevalias opened 2 years ago

0xdevalias commented 2 years ago

Currently it looks like the code can only extract answers, but it would be cool if it was also possible to capture questions in a similar way. This would make it easier to archive the full context of a StackOverflow post (eg. for making an offline backup of my questions/answers)

bramses commented 2 years ago

Gotcha, so a way to pass in a question URL and get just the question, or all of the answers?

0xdevalias commented 2 years ago

I guess I would see them as 2 separate things, but being able to do either might be cool. At a minimum, just getting the question when entering a question URL would make sense (and then I could use the existing functionality to copy the answer URLs that I wanted)

If passing a question URL and getting the question and all of the answers together, I would probably expect that to be an explicit 'opt in' feature; so probably a new command from the menu rather than the default one.