A Markdown viewer with paragraph-level AI-powered inline commenting. Built with Next.js 16 and remark/rehype.
Click on any paragraph to open the comment panel on the right. You can write your own comments or use the Ask AI button to get an AI-generated review.
This is a blockquote. Comments on blockquotes work the same way — just click on the paragraph.
Below is a TypeScript snippet. Code blocks within paragraphs render with syntax highlighting via rehype-highlight.
interface Comment {
id: string
paragraphIndex: number
selectedText: string
author: string
content: string
timestamp: Date
aiGenerated: boolean
}
Markdown tables are also supported thanks to remark-gfm:
| Feature | Status | Priority |
|---|---|---|
| Paragraph comments | ✅ Done | High |
| AI comments | ✅ Done | High |
| Threaded replies | 🔜 Planned | Medium |
| Mentions | 🔜 Planned | Low |
Managing feedback on documents — specs, documentation, code reviews — is often fragmented between tools. This project explores a unified approach: render markdown as the source of truth, and attach comments inline at the paragraph level.
The AI commenting feature gives you a second pair of eyes. It's not meant to replace human review, but to catch blind spots and offer alternative perspectives.
This is the last paragraph. If you've read this far, why not leave a comment? 👇
Click any paragraph to comment