How do I convert TipTap JSON to markdown? #5847
-
I am using TipTap in https://glama.ai/. I need to send messages to AI using markdown. At the moment, I am doing TipTap -> HTML -> Markdown. However, I am finding various edge cases where this does not work well, e.g. tables. Is there a better way of doing this? |
Beta Was this translation helpful? Give feedback.
Answered by
nperez0111
Nov 19, 2024
Replies: 1 comment 6 replies
-
HTML -> markdown is probably the best bet right now. You can also extend extensions to customize the html output just for the html export if you need to. I do have a PR for a static-renderer which could do it but I've not finished it yet: #5528 |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
nperez0111
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HTML -> markdown is probably the best bet right now. You can also extend extensions to customize the html output just for the html export if you need to. I do have a PR for a static-renderer which could do it but I've not finished it yet: #5528