For a hackier approach, you can also feed html (which you can get from the graphQL API) to a utility like pandoc in order to obtain the markdown.
We do directly expose a markdown export via the graphQL API, so that sure would be a sad roundtrip :P
A markdown version of the body doesn’t to be in any of the possible fields of the `Post` type. Am I looking in the wrong place? I’m using this:
https://www.lesswrong.com/graphiql
Should be part of the contents field:
contents
{ post(input: {selector: {slug: "the-new-editor"}}) { result { contents { markdown } } } }
Ah, thanks!
For a hackier approach, you can also feed html (which you can get from the graphQL API) to a utility like pandoc in order to obtain the markdown.
We do directly expose a markdown export via the graphQL API, so that sure would be a sad roundtrip :P
A markdown version of the body doesn’t to be in any of the possible fields of the `Post` type. Am I looking in the wrong place? I’m using this:
https://www.lesswrong.com/graphiql
Should be part of the
contents
field:Ah, thanks!