Mermaid Previewer (Fork) Firefox

Mermaid Previewer (Fork)

Preview and export mermaid.

Features & Capabilities

Mermaid Previewer (forked)

A Chrome/Firefox extension for previewing and exporting mermaid images in web pages, fully rendering mermaid locally without involving remote api calls.

On websites that meet the preset rules, you can preview or export by setting the code block language in markdown to mermaid:

graph LR A --> B

At the same time, it also provides the function of custom rule configuration. This is a fork of <https://www.github.com/zephyraft/mermaid-previewer>. Thank you to @zephyraft!

What is this fork?

This fork adds support for Firefox, auto detected dark mode, Bitbucket Pull Request rendering (description + diff views), and configurable diff selectors. Wanted this as we use Bitbucket at work, and while GitHub can render Mermaid, why can't bitbucket? This existing extension already did a great job at normal rendering but needed some work to get it working in PR's and in the Diff view.

Here's a repo where you can test the extension: <https://bitbucket.org/marcozaccari2/markdown-diagrams-browser-extension/src/master/doc/examples/mermaid.md>

Fork Changes

  • Firefox Support: Mermaid runs in the page's MAIN world to avoid Firefox CSP restrictions on Function() in content scripts. A bridge script handles cross-world communication via postMessage.
  • Dark Mode: Automatically detects prefers-color-scheme: dark and uses mermaid's dark theme.
  • Bitbucket PR Description Rendering: Renders mermaid in PR description code blocks.
  • Diff View Rendering: Extracts mermaid from ```mermaid fenced code blocks in git diff views and renders diagrams inline below the code fence. Works with both unified and side-by-side diffs.
  • Configurable Diff Selectors: Diff rendering is configurable in the extension settings page with match patterns, diff wrapper selectors, code line selectors, and fence markers. Default config targets Bitbucket pull request diffs.
  • Download JPG: Adds a download JPG button in addition to the Download SVG button.
  • Fullscreen view: Adds a fullscreen button to see it in fullscreen.
Preset Rules

User Growth & Download Statistics

Manifest V3 Add-on
By:
nathandaven
Daily users:
16 4
Version:
1.6.0 Last updated: 2026-03-30
Version code:
6198625
Creation date:
2026-03-26
Risk:
Moderate risk impact High risk likelihood
Permissions:
Host permissions:
  • https://*/*
  • file:///
Content scripts matches:
  • <all_urls>
Size:
1.91MB
Email:
na*****@gmail.com
URLs:
Privacy policy
Full description:
See detailed description
Source:
Firefox Add-ons Store
Data ingested on:
2026-06-15
Compare stats and ranking:

Contact the developer

Chrome-Stats does not own this Firefox add-on. Please use these information below to contact the Firefox add-on developer.
Developed by:
nathandaven
Firefox Add-ons Store
https://addons.mozilla.org/firefox/addon/8395af8a84a6431cb835/
Email:
na*****@gmail.com

Is Mermaid Previewer (Fork) Safe?

Risk impact
Risk impact measures the level of extra permissions an extension has access to. A low risk impact extension cannot do much harms, whereas a high risk impact extension can do a lot of damage like stealing your password, bypassing your security settings, and accessing your personal data. High risk impact extensions are not necessarily malicious. However, if they do turn malicious, they can be very harmful.

Mermaid Previewer (Fork) requires a few sensitive permissions. Exercise caution before installing.

Risk impact analysis details
  • Critical Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
  • High ******* ******* **** *** ****** ***** *** ***** ** ******* **** ********* ********* ** * *********** *****
  • Medium ****** ********** ** ******** ********** *** ********* ******* ******** ****** ******** ****** ********
Risk likelihood
Risk likelihood measures the probability that a Firefox add-on may turn malicious. This is determined by the publisher and the Firefox add-on reputation on Firefox Add-ons Store, the amount of time the Firefox add-on has been around, and other signals about the Firefox add-on. Our algorithms are not perfect, and are subject to change as we discover new ways to detect malicious extensions. We recommend that you always exercise caution when installing a Firefox add-on.

Mermaid Previewer (Fork) is recently added, and hasn't been around long enough for us to gather enough data to accurately assess its risk level.

Risk likelihood analysis details
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Medium **** ********* *** ******* ** *** **** * ******* *** ******* *** *** ** ****** ** *****
  • Medium **** ********* *** ***** ** *** **** * ******* *** ********** *** *** ** ****** ** *****
Extension Guard
Extension Guard

Discover every extension in use, analyze risks, and enforce blocking policies with Extension Guard

Secure Your Browser
Upgrade to see full risk analysis details

Best Mermaid Previewer (Fork) Alternatives

Here are some Firefox add-ons that are similar to Mermaid Previewer (Fork):