Skip to content

Add markdown preview to comment form #37

@cwage

Description

@cwage

The comment body supports markdown (rendered via Jekyll's markdownify filter at build time), but there's no way for users to know that or preview what their comment will look like before submitting.

It would be nice to add a write/preview tab split to the comment form textarea, similar to GitHub's comment editor. Clicking "Preview" would render the markdown client-side so users can check formatting before submitting.

Options to explore:

  • A lightweight JS markdown library (e.g. marked, markdown-it) for client-side preview
  • Simple tab toggle between the textarea and a rendered preview div
  • Keep it minimal — no toolbar or syntax highlighting needed, just a preview pane

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions