Preview and export mermaid.
Mermaid Previewer Extension
A chrome 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:
```mermaid
graph LR
A --> B
```
At the same time, it also provides the function of custom rule configuration.
Please click on the website on the right to view the source code repository for more information.
Source Manifest.json
"update_url": "https://clients2.google.com/service/update2/crx",
"icons":{"16":"icon16.plasmo.6c567d50.png",
"32":"icon32.plasmo.76b92899.png",
"48":"icon48.plasmo.aced7582.png",
"64":"icon64.plasmo.8bb5e6e0.png",
"128":"icon128.plasmo.3c1ed2d2.png"},
"manifest_version":3,
"action":{"default_icon":{"16":"icon16.plasmo.6c567d50.png",
"32":"icon32.plasmo.76b92899.png",
"48":"icon48.plasmo.aced7582.png",
"64":"icon64.plasmo.8bb5e6e0.png",
"128":"icon128.plasmo.3c1ed2d2.png"}},
"version":"1.4.4",
"author":"zephyraft",
"name":"Mermaid Previewer",
"description":"Preview and export mermaid.",
"homepage_url":"https://github.com/zephyraft/mermaid-perviewer#readme",
"background":{"service_worker":"static/background/index.js"},
"options_ui":{"page":"options.html",
"open_in_tab":true},
"permissions":["storage",
"downloads"],
"content_scripts":[{"matches":["
"js":["previewer.1949c6c6.js"],
"css":["fontawesome.4dd32cee.css"],
"all_frames":true},{"matches":["
"js":["exporter.2f7bafc2.js"],
"all_frames":true,
"css":[]}],
"host_permissions":["https://*/*"],
"web_accessible_resources":[{"matches":["
"resources":["fa-brands-400.50bcb163.woff2",
"fa-regular-400.c567a0d4.woff2",
"fa-solid-900.70afb11e.woff2",
"fa-v4compatibility.b8a024f1.woff2"]},{"matches":["
"resources":["exporter.00d95785.css"]}]}
How to download and manually install Mermaid Previewer extension for Chrome
Looking for a way to install Mermaid Previewer extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install Mermaid Previewer extensions manually, this article outlines two simple methods to effortlessly install Mermaid Previewer extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download Mermaid Previewer extension and manually install through Drag &Drop
If you ever need to manually install a Mermaid Previewer extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the Mermaid Previewer Extension by clicking the "Download CRX" button on the website.
Look for the Mermaid Previewer extension you wish to install. Go to the website and download the Mermaid Previewer extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Mermaid Previewer extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the Mermaid Previewer extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download Mermaid Previewer extension for Chrome and install in Developer Mode
This is another method to install Mermaid Previewer extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the Mermaid Previewer extension file
Select and download the Mermaid Previewer extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the Mermaid Previewer extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Mermaid Previewer extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the Mermaid Previewer extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install Mermaid Previewer extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
Mermaid Graphical Editor 2,000+ 2 ★ 1.16MiB
Markdown Diagrams 2,000+ 10 ★ 155KiB
Mermaid Render 2,000+ 0 ★ 326KiB
Mermaid extension 2,000+ 1 ★ 1.93MiB
PlantUML Visualizer 2,000+ 6 ★ 419KiB
Open in Mermaid editor 2,000+ 0 ★ 35.37KiB
Markdown Viewer 2,000+ 352 ★ 2.36MiB
Mermaid diagram renderer for GitHub 2,000+ 2 ★ 302KiB
Mermaid Charts 2,000+ 1 ★ 238KiB

Chrome Diagrammer 2,000+ 4 ★ 437KiB
Mermaid + Confluence ? 2,000+ 0 ★ 1.93MiB
mermaid-diagrams 2,000+ 6 ★ 436KiB
markdown mermaid 2,000+ 0 ★ 233KiB

Monkeys | Mermaid for Github and Bitbucket 2,000+ 0 ★ 433KiB
Notion Charts 2,000+ 0 ★ 2.29MiB
Markdown Reader 2,000+ 40 ★ 2.07MiB
PlantUML Extension 2,000+ 3 ★ 297KiB
Mokuren for GitHub 2,000+ 9 ★ 1.37MiB
Chrome Markdown Preview 2,000+ 6 ★ 42.67KiB
PlantUML Viewer 2,000+ 104 ★ 36.92KiB
Chat GPT Diagram 2,000+ 3 ★ 1.25MiB
Asciidoctor.js Live Preview 2,000+ 76 ★ 3.93MiB
ChatGPT Diagrams 2,000+ 5 ★ 3.05MiB
Markdown Preview Plus 2,000+ 234 ★ 2.24MiB
User reviews
Jason Denning (ID: 0000000e6c1cda1a) Voted 5 ★ - Updated 03/17/2023