Marginalia bởi gnsharma0810
Add review comments to GitHub's rich markdown diffs. A browser extension for Chrome and Firefox that lets you comment on markdown files in GitHub PR rich diff views — something GitHub doesn't natively support.
Siêu dữ liệu mở rộng
Ảnh chụp màn hình
Về tiện ích mở rộng này
Add review comments to GitHub's rich markdown diffs.
A browser extension for Chrome and Firefox that lets you comment on markdown files in GitHub PR rich diff views — something GitHub doesn't natively support.
━━━━━━━━━━━━━━━━━━━━
✦ FEATURES
━━━━━━━━━━━━━━━━━━━━
⟨/⟩ Jump to Source Diff
Hover over any paragraph, heading, or block in the rich diff to see a source button. Click it to switch the file to source diff mode, where GitHub's native inline commenting works.
💬 Inline Comment Overlay
Hover to see a comment button that opens a comment form right there in the rich diff. The extension maps the rendered block back to the source line number and posts a real PR review comment via the GitHub API.
Both approaches can be used together (default) or individually — configurable in the extension popup.
━━━━━━━━━━━━━━━━━━━━
⟐ HOW TO USE
━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━
⚙ HOW LINE MAPPING WORKS
━━━━━━━━━━━━━━━━━━━━
The extension fetches the file's source content from the PR's head branch and uses a text-matching heuristic to find which source lines correspond to each rendered block. It then maps those to diff positions for the GitHub API. The mapping isn't perfect for heavily edited files, but works well for typical docs/README changes.
━━━━━━━━━━━━━━━━━━━━
⌨ KEYBOARD SHORTCUTS
━━━━━━━━━━━━━━━━━━━━
Cmd/Ctrl + Enter → Submit comment
Escape → Cancel / close comment form
━━━━━━━━━━━━━━━━━━━━
⚠ LIMITATIONS
━━━━━━━━━━━━━━━━━━━━
• Line mapping is heuristic-based and may occasionally target a nearby line instead of the exact one
• Very large diffs (100+ files) may hit API rate limits
• The extension only activates on PR "Files changed" pages
• Rich diff must be enabled for the markdown file (GitHub's default for .md)
• Firefox: inline commenting requires manually granting api.github.com host permission (see Installation)
A browser extension for Chrome and Firefox that lets you comment on markdown files in GitHub PR rich diff views — something GitHub doesn't natively support.
━━━━━━━━━━━━━━━━━━━━
✦ FEATURES
━━━━━━━━━━━━━━━━━━━━
⟨/⟩ Jump to Source Diff
Hover over any paragraph, heading, or block in the rich diff to see a source button. Click it to switch the file to source diff mode, where GitHub's native inline commenting works.
💬 Inline Comment Overlay
Hover to see a comment button that opens a comment form right there in the rich diff. The extension maps the rendered block back to the source line number and posts a real PR review comment via the GitHub API.
Both approaches can be used together (default) or individually — configurable in the extension popup.
━━━━━━━━━━━━━━━━━━━━
⟐ HOW TO USE
━━━━━━━━━━━━━━━━━━━━
- Open any GitHub PR's "Files changed" tab
- Find a markdown file (.md, .markdown, .mdx) showing the rich diff
- Hover over any content block (paragraph, heading, list, code block, etc.)
- Two buttons appear on the left:
⟨/⟩ Switch to source diff for native commenting
💬 Open an inline comment form - Write your comment and hit Comment (or Cmd/Ctrl + Enter)
━━━━━━━━━━━━━━━━━━━━
⚙ HOW LINE MAPPING WORKS
━━━━━━━━━━━━━━━━━━━━
The extension fetches the file's source content from the PR's head branch and uses a text-matching heuristic to find which source lines correspond to each rendered block. It then maps those to diff positions for the GitHub API. The mapping isn't perfect for heavily edited files, but works well for typical docs/README changes.
━━━━━━━━━━━━━━━━━━━━
⌨ KEYBOARD SHORTCUTS
━━━━━━━━━━━━━━━━━━━━
Cmd/Ctrl + Enter → Submit comment
Escape → Cancel / close comment form
━━━━━━━━━━━━━━━━━━━━
⚠ LIMITATIONS
━━━━━━━━━━━━━━━━━━━━
• Line mapping is heuristic-based and may occasionally target a nearby line instead of the exact one
• Very large diffs (100+ files) may hit API rate limits
• The extension only activates on PR "Files changed" pages
• Rich diff must be enabled for the markdown file (GitHub's default for .md)
• Firefox: inline commenting requires manually granting api.github.com host permission (see Installation)
Được xếp hạng 0 (bởi 1 người dùng)
Quyền hạn và dữ liệu
Quyền hạn bắt buộc:
- Truy cập dữ liệu của bạn cho github.com
Quyền hạn tùy chọn:
- Truy cập dữ liệu của bạn cho api.github.com
Thu thập dữ liệu:
- Nhà phát triển cho biết tiện ích mở rộng này không yêu cầu thu thập dữ liệu.
Thêm thông tin
- Liên kết tiện ích
- Phiên bản
- 1.0.0
- Kích cỡ
- 18,86 KB
- Cập nhật gần nhất
- 10 ngày trước (19 Thg 03 2026)
- Thể loại có liên quan
- Giấy phép
- Giấy phép MIT
- Lịch sử các phiên bản
- Thêm vào bộ sưu tập