Export thread from Discourse in markdown

Is there a method to export a thread from a Discourse topic (this forum or other) as markdown? I want to preserve many of the posts here in Obsidian.

(I could, and do, use Terpstra’s “WebMarkdown” PopClip plugin, but I’m looking for a faster process.)

1 Like

There’s not something I’m aware of, but you can hit a topic via the JSON endpoint and grab the raw, uncooked Markdown text.

https://forum.obsidian.md/t/export-thread-from-discourse-in-markdown/8075.json for example.

Do be aware you have to loop through posts as they don’t all come at once.

Context: I work for Discourse

3 Likes