Produce slate-compatible ast tree from markdown in nodejs (aka: md deserialization) #4117
Unanswered
giacomocerquone
asked this question in
Q&A
Replies: 1 comment
-
You can check out https://github.com/hanford/remark-slate |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I have a particular use case which doesn't seem to fit in your docs.
I'm working with graphCMS which, on creating programmatically a post, asks for a "rich text AST" produced by slate.
Now, I'm creating a node js migrator which reads content from md files and send them to the graphcms api, but right now I'm stuck at trying to create an AST, like the one slate creates, from the content of those md files.
Is there some method of this lib or some way to do this?
Thank you all.
Beta Was this translation helpful? Give feedback.
All reactions