1 item
Preview and export mermaid. Fork of https://github.com/zephyraft/mermaid-previewer to include support for Firefox, add dark mode, and support Bitbucket Pull Request Descriptions. This fork adds support for Firefox, auto detected dark mode, Bitbucket Pull Request rendering (description + diff views), and configurable diff selectors. Test the extension here: 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. 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 fenced code blocks in git diff views and renders diagrams inline. 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 diagrams in fullscreen. 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: 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! Preset Rules: Exclude URLs: - https://chromewebstore.google.com/* Matching Selectors: - div.codehilite > pre under *://bitbucket.org/* (Support Bitbucket preview and export) - #pull-request-description-panel [data-ds--code--code-block] > code under *://bitbucket.org/* (Support Bitbucket PR description mermaid rendering) - body > pre under file:///*.mmd and file:///*.mermaid (Support preview and export of .mmd and .mermaid files) Download Selectors: - div.mermaid-view div.mermaid under https://viewscreen.githubusercontent.com/markdown/mermaid* (Support GitHub export) - div#app under https://gitlab.com/-/sandbox/mermaid (Support Gitlab export) Diff Selectors: - .bitkit-diff-wrapper-diff with .code-diff under *://bitbucket.org/*/pull-requests/* (Renders mermaid diagrams found in Bitbucket PR diff views)
Apr 30, 2026
rating_count is the Chrome Web Store ratings count, not a written-review count.
Media assets
Screenshots and videos on the listing.
Has promo video
Whether the listing includes at least one video.
Languages
Declared language locales.
Developer website
Listing exposes a developer website URL.
Contact email
Listing exposes a contact email.
Keyword in name
Case-insensitive substring match in the name.
Keyword in description
Case-insensitive substring match in the description.
Keyword occurrences in description
Count of case-insensitive occurrences in the description.
Category user-count percentile
Share of same-category extensions with fewer users (null if unknown).
These are transparent listing completeness / keyword signals, not a prediction of Chrome Web Store search ranking.