Dodaci za preglednik Firefox
  • Proširenja
  • Teme
    • za Firefox
    • Rječnici i jezični paketi
    • Druge stranice preglednika
    • Dodaci za Android
Prijavi se
Pregled za Marginalia

Marginalia Autor: 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 recenzije)0 (0 recenzije)
Preuzmi Firefox i nabavi proširenje
Preuzmi datoteku

Metapodaci proširenja

Snimke ekrana
Informacije o ovom proširenju
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)
Ocjena 0 od 0 recenzenta
Prijavi se i ocijeni ovo proširenje
Još nema ocjena

Ocjena je spremljena

5
0
4
0
3
0
2
0
1
0
Još nema recenzija
Dozvole i podaci

Potrebne dozvole:

  • Pristup tvojim podacima za github.com

Opcionalne dozvole:

  • Pristup tvojim podacima za api.github.com

Prikupljanje podataka:

  • Programer kaže da ovo proširenje ne zahtijeva prikupljanje podataka.
Saznaj više
Daljnje informacije
Poveznice dodatka
  • Stranica podrške
Verzija
1.0.0
Veličina
18,86 KB
Zadnje aktualiziranje
prije 10 dana (19. ožu. 2026)
Povezane kategorije
  • Razvoj weba
Licenca
MIT licenca
Povijest verzija
  • Pogledaj sve verzije
Dodaj u zbirku
Prijavi ovaj dodatak
Idi na početnu stranicu Mozille

Dodaci

  • Informacije
  • Blog za Firefox dodatke
  • Radionica za proširenja
  • Centar za programere
  • Pravila za programere
  • Blog zajednice
  • Forum
  • Prijavi grešku
  • Priručnik za recenziranje

Preglednici

  • Desktop
  • Mobile
  • Enterprise

Proizvodi

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privatnost
  • Kolačići
  • Pravne informacije

Osim gdje je drugačije navedeno, sadržaj ove stranice licenciran je pod licencom Creative Commons Imenovanje dijeli pod istim uvjetima verzija 3.0 ili novijoj.