Convert HTML into Markdown
izyuumi opened this issue · comments
Yumi Izumi commented
Would it be possible to implement something like markdown::from_html()
?
Titus commented
Anything is possible if you spend the time making it.
You need to port:
- https://github.com/syntax-tree/hast-util-from-html (complex, this needs an HTML parser)
- https://github.com/syntax-tree/hast-util-to-mdast
- https://github.com/syntax-tree/mdast-util-to-markdown
Yumi Izumi commented
Thanks!