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
The comment body supports markdown (rendered via Jekyll's
markdownifyfilter 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: