Just paste this into the editor at lesswrong.com/graphiql (adjusting the “id” for the post id, which is the alphanumerical string in the URL after /posts/), and you can get the raw content for any post.
Thank you! I tried it on this post and while the post itself is pretty short, the raw content that i get seems to be extremely long (making it larger than the o1 context window, for example), with a bunch of font-related information inbetween. Is there a way to fix this?
Yeah, you can grab any post in Markdown or in the raw HTML that was used to generate it using the
markdown
andckEditorMarkup
fields in the API:Just paste this into the editor at lesswrong.com/graphiql (adjusting the “id” for the post id, which is the alphanumerical string in the URL after /posts/), and you can get the raw content for any post.
Thank you! I tried it on this post and while the post itself is pretty short, the raw content that i get seems to be extremely long (making it larger than the o1 context window, for example), with a bunch of font-related information inbetween. Is there a way to fix this?
Thank you!
You’re welcome!