Markdoc serialization from Tanstack Start serverFn
Did anyone managed to return Markdoc from a serverFn? It looks like seroval cannot serialize Markdoc RenderableTreeNode:
As seen on the attached screenshot, I used the simplest markdoc setup without any custom Node.
For now a workaround is to JSON stringify and parse... With react-router I was used to directly return the transformed markdoc from the loader, does anyone have another workaround?
Here is a reproduction https://github.com/PhilDL/tanstack-start-markdoc-serialization
