Closed thebosph closed 1 year ago
Here is an example
A component for rendering katex content:
And registering it as a type in the serializer
Closing this, as the new @portabletext/react
library is the successor to this module.
Please see https://github.com/portabletext/react-portabletext
Hello everyone. I try to using Sanity Latex Input. Sanity studio ok but in frontend(nextjs) i cant show latex content with @sanity/block-content-to-react. How can i do this?
Error: Unknown block type "latex", please specify a serializer for it in the
serializers.types
prop. andUnknown block type "undefined", please specify a serializer for it in the
serializers.types
prophow can i serialize Latex?
thanks a lot.