Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of GitHub Mermaid JSDoc Viewer

GitHub Mermaid JSDoc Viewer by Guillaume Ongenae

Previews Mermaid diagrams written inside JSDoc comments (or Markdown fences) while you browse GitHub. In source files, pull requests, commits and compare views. Shows before/after when a diff changes the diagram. No login, no data collected.

Available on Firefox for Android™Available on Firefox for Android™
0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file
Scan the QR code to open this extension in Firefox for Android

Extension Metadata

Screenshots
About this extension
Documenting architecture or flow logic with a ```mermaid block inside a JSDoc comment is a nice way to keep diagrams next to the code they describe — but GitHub only renders it as a fenced code block, not a diagram, whether you're reading the source or reviewing a diff. This extension adds a small badge next to the line number of every such block so you can preview or open the diagram without leaving the page or copy-pasting into an external tool.

  • Scans /** ... */ JSDoc comments in .js/.jsx/.ts/.tsx files, and plain fenced blocks in .md/.markdown/.mdx files, for ```mermaid code blocks — on blob (source file) pages, and on PR "Files changed", commit and compare diff pages
  • Overlays a small 📊 badge next to the line number of each detected block; click it to open a zoomable/pannable preview (via mermaid.ink), which also links to the full mermaid.live editor
  • On diff pages, if the diagram itself was edited (not just surrounding code), the badge turns into 🔀 and clicking it shows the diagram before and after side by side — a red-tinted "Before" pane and a green-tinted "After" pane, each with its own "Open in Mermaid Live" link
  • Preview supports scroll-to-zoom, drag-to-pan, double-click-to-reset, and a +/−/⟳ toolbar
  • Works on GitHub's Turbo-driven navigation and lazy-loaded diffs — badges refresh automatically as you browse between files or scroll
  • Light and dark mode support
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Access your data for github.com

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.0.0
Size
53.97 KB
Last updated
5 days ago (Sep 4, 2026)
Related Categories
  • Web Development
License
MIT License
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

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

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version. Android is a trademark of Google LLC.