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!
Current theme: default
Less Wrong (text)
Less Wrong (link)
Arrow keys: Next/previous image
Escape or click: Hide zoomed image
Space bar: Reset image size & position
Scroll to zoom in/out
(When zoomed in, drag to pan; double-click to close)
Keys shown in yellow (e.g., ]) are accesskeys, and require a browser-specific modifier key (or keys).
]
Keys shown in grey (e.g., ?) do not require any modifier keys.
?
Esc
h
f
a
m
v
c
r
q
t
u
o
,
.
/
s
n
e
;
Enter
[
\
k
i
l
=
-
0
′
1
2
3
4
5
6
7
8
9
→
↓
←
↑
Space
x
z
`
g
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!