I’m excited to see this, and have been enjoying using it.
I’m curious though; is it interoperable with other methods, or are there any projects on the horizon to convert this to Markdown if needed? I would like to have backups or possibly later post some of my LW content to other platforms.
I realize that probably couldn’t keep all the functionality (no fully isomorphic translation), but even some of it could be handy.
Yep, we have markdown translation for all documents, and it should be basically fully interoperable (LaTeX is a bit janky, but I think everything else should work).
You can get it either via the API, or you can activate the markdown editor in your user profile, and then edit any post that you edited in a non-markdown format. It will offer you to display the content in Markdown instead.
I’m excited to see this, and have been enjoying using it.
I’m curious though; is it interoperable with other methods, or are there any projects on the horizon to convert this to Markdown if needed? I would like to have backups or possibly later post some of my LW content to other platforms.
I realize that probably couldn’t keep all the functionality (no fully isomorphic translation), but even some of it could be handy.
Yep, we have markdown translation for all documents, and it should be basically fully interoperable (LaTeX is a bit janky, but I think everything else should work).
You can get it either via the API, or you can activate the markdown editor in your user profile, and then edit any post that you edited in a non-markdown format. It will offer you to display the content in Markdown instead.
Good to know, 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!