Додаци за прегледач Firefox
  • Проширења
  • Теме
    • за Firefox
    • Речници и језички пакети
    • Странице других прегледача
    • Додаци за Android
Пријавите се
Преглед Marginalia

Marginalia од 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.

0 (0 рецензија)0 (0 рецензија)
Нема корисникаНема корисника
Преузмите Firefox и добијте додатак
Преузмите датотеку

Метаподаци додатка

Снимци екрана
О овом додатку
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
━━━━━━━━━━━━━━━━━━━━
  1. Open any GitHub PR's "Files changed" tab
  2. Find a markdown file (.md, .markdown, .mdx) showing the rich diff
  3. Hover over any content block (paragraph, heading, list, code block, etc.)
  4. Two buttons appear on the left:
    ⟨/⟩ Switch to source diff for native commenting
    💬 Open an inline comment form
  5. 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)
Оцењено са 0 од стране 0 рецензената
Пријавите се да бисте оценили овај додатак
Још увек нема оцена

Оцена звездицама сачувана

5
0
4
0
3
0
2
0
1
0
Још увек нема рецензија
Овлашћења и подаци

Потребна овлашћења:

  • Приступ вашим подацима за github.com

Необавезна овлашћења:

  • Приступ вашим подацима за api.github.com

Прикупљање података:

  • Програмер наводи да овом додатку није потребно прикупљање података.
Сазнајте више
Више информација
Везе додатка
  • Страница подршке
  • Копирај ИД додатка
Издање
1.0.0
Величина
18,86 KB
Последњи пут ажурирано
pre 3 meseca (19. mar. 2026.)
Повезане категорије
  • Веб програмирање
Дозвола
MIT дозвола
Историјат издања
  • Погледајте сва издања
Додај у збирку
Пријави овај додатак
Идите на почетну страницу Mozilla-е

Додаци

  • O програму
  • Блог о додацима за Firefox
  • Радионица за додатке
  • Центар за програмере
  • Политике програмера
  • Блог заједнице
  • Форум
  • Пријавите грешку
  • Водич за оцењивање

Преузмите

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Најновије градње

  • Nightly
  • Beta

Firefox за предузећа

  • Enterprise

Заједница

  • Connect
  • Contribute
  • Developer

Прати

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Приватност
  • Колачићи
  • Права

Изузев тамо где је другачије наведено , садржај на овој страници је лиценциран под Creative Commons Attribution Share-Alike дозволом v3.0 или било којим каснијим издањем.