Skip to content

[Enhancement] Add Markdown Preview Toggle for Comments/Reviews #468

@Aditya948351

Description

@Aditya948351

Description

Users can write comments and project reviews using Markdown, but they cannot see how it will look until they actually hit submit.

Proposed Solution

  1. Add a "Write" and "Preview" tab above the comment textarea (similar to GitHub's UI).
  2. When "Preview" is active, render the markdown string using react-markdown.
  3. Ensure proper sanitization is applied during the preview.

Expected Outcome

A much better UX for users authoring long-form technical reviews.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions