I’m building a portal page for our community by using Statinamic (a static site generator) which will pull data from Discourse API and rebuild everyday.
But I can’t find a compatible Javascript markdown parser for Discourse so any pointers would be appreciated.
By the way, the portal is open source under MIT License. If anyone interested, please take a look at:
Probably not the best way, one way to do it would be to issue a request to /p/{id} which will respond with a 302 pointing to the topic containing said post. Issuing a request there will then give you a cooked version of the response in post_stream>posts>cooked