API를 사용하여 게시물의 Markdown 가져오기

It’s easy to get all kinds of information about a post on a Discourse instance using the Discourse API. We can even get the entire text of a post as HTML in it’s “cooked” form. Is it possible, though, to get the original Markdown that was typed in to generate the post via the API?

#customization:theme-component는 원시 버튼을 추가합니다

답변 주셔서 감사합니다. 다만, 제 질문은 Discourse API를 통해 원래의 마크다운에 접근할 수 있는지에 대한 것입니다.

I am not sure with the API but this is another method of getting raw post.

And a topic with similar request.

I think you are talking about the topic/SLUG/id.json endpoint?

If so, then by adding ?include_raw=true to the endpoint the JSON for the posts in the topic will include raw.

Yes, that does it exactly - thanks Sam!!