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

Html tag support in markdown component #666

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

sudhanshutech
Copy link
Member

@sudhanshutech sudhanshutech commented Jul 4, 2024

Notes for Reviewers

This PR fixes the issue to not render html ssupported tags inside markddown component.
By default the react markdown package does not allow to render html tags due to security reason so we need to use a plugin that is rehype

For context we can read here: https://www.npmjs.com/package/react-markdown#appendix-a-html-in-markdown

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Sudhanshu Dasgupta <[email protected]>
@aabidsofi19 aabidsofi19 merged commit 369d3ea into layer5io:master Jul 4, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants