Open timothypratley opened 9 months ago
The purpose of n.m.transform/->text
is not to rebuild the markdown syntax behind a node.
There's been some work to do the conversion from data back to markdown text that I'd like to resume at some point. Thanks for the reminder :-).
I'm trying to convert a Markdown file into a Clojure namespace
That's covered in a notebook based on the above pr and could possibly land into Clerk in the future.
Thank you @zampino
Given an input markdown file, important information is lost
It would be useful to preserve the original text (for the same reasons clj-rewrite exists).
I'm trying to convert a Markdown file into a Clojure namespace by just putting comments around everything that is not code, and stripping the blocks around the code, but reproducing the Markdown is not straight forward.