Buscador de complementos para Firefox
  • Extensiones
  • Temas
    • para Firefox
    • Diccionarios y paquetes de idiomas
    • Otros sitios de navegadores
    • Complementos para Android
Conectarse
Vista previa de Marginalia

Marginalia por 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 revisiones)0 (0 revisiones)
Descarga Firefox y obtiene la extensión
Descargar archivo

Metadata de la extensión

Capturas de pantalla
Sobre esta extensión
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)
Calificado 0 por 0 revisores
Inicia sesión para evaluar esta extensión
Todavía no hay valoraciones

Se guardó la valoración

5
0
4
0
3
0
2
0
1
0
Aún no hay revisiones
Permisos y datos

Permisos requeridos:

  • Acceder a tus datos para github.com

Permisos opcionales:

  • Acceder a tus datos para api.github.com

Recolección de datos:

  • El desarrollador dice que esta extensión no requiere recolección de datos.
Saber más
Más información
Enlaces del complemento
  • Ayuda del sitio
Versión
1.0.0
Tamaño
18,86 KB
Última actualización
hace 10 días (19 de mar. de 2026)
Categorías relacionadas
  • Desarrollo web
Licencia
Licencia MIT
Historial de versiones
  • Ver todas las versiones
Añadir a la colección
Reportar este complemento
Ir a la página de inicio de Mozilla

Complementos

  • Acerca de
  • Blog de complementos de Firefox
  • Taller de extensiones
  • Central del desarrollador
  • Normativas para desarrolladores
  • Blog de la comunidad
  • Foro
  • Informar de un error
  • Guía de revisión

Navegadores

  • Desktop
  • Mobile
  • Enterprise

Productos

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacidad
  • Cookies
  • Legal

A menos que se indique lo contrario, el contenido de este sitio está licenciado bajo la licencia Creative Commons Reconocimiento Compartir-Igual v3.0 o una versión posterior.