Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using rehypeSanitize, mermaid, and Katex #394

Open
th-m opened this issue May 26, 2022 · 1 comment
Open

Using rehypeSanitize, mermaid, and Katex #394

th-m opened this issue May 26, 2022 · 1 comment

Comments

@th-m
Copy link

th-m commented May 26, 2022

Using rehype-sanitize as shown in the demos breaks katex and mermaid rendering. Is there an example of how to get these to play nice with each other?

@th-m
Copy link
Author

th-m commented May 26, 2022

Trying to make use of the rehype and remark ecosystem was a bust. This component is a client side tool, most of the libs in that eco system rely on SSR and utils like fs.

It is very possible I was just not using things correctly some further examples or docs would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant