Mermaid Previewer Mermaid Previewer

Developer Tools
Version: 1.3.0
Last Update: 2023-04-12

Overview

Mermaid Previewer is a Chrome extension developed by zzzzzzzephyr. According to the data from Chrome web store, current version of Mermaid Previewer is 1.3.0, updated on 2023-04-12.
520 users have installed this extension. 2 users have rated this extension with an average rating of .

Preview and export mermaid in github/bitbucket.

# Mermaid Previewer

A chrome extension for previewing and exporting mermaid images in markdown, supports bitbucket and github, fully renders mermaid locally, and does not involve remote api calls.

On eligible websites, the preview can be realized by setting the code block language in markdown to mermaid:
```mermaid
graph LR
A --> B
```

Click the right mouse button on the rendered mermaid image and select "Export SVG" to export the svg file.

## Feature List

- [x] Bitbucket
- [x] readme
- [x] markdown preview
- [x] edit preview
- [x] svg export
- [x] GitHub
- [x] svg export
- [x] custom exclusion lists and rule lists

At the same time, the following pages with dom structure are supported:
```html
<pre lang="mermaid">
<code>
graph LR
A --> B
</code>
</pre>
```
or
```html
<div class="codehilite">
<pre>
graph LR
A --> B
</pre>
</div>
```

## Config

You can customize the configuration to support and exclude more websites. The default configuration of the extension is as follows:

Exclude Domain:
```
chrome.google.com
gitlab.com
```
Match Selectors:
```
pre[lang='mermaid'] > code
div.codehilite > pre
```

## Changelog
- [1.3.0] Update mermaid version to 10.1.0, the export function is changed to export svg to support more styles and font-awesome.
- [1.2.9] Update mermaid version to 10.0.2, support font-awesome and gitGraph.
- [1.2.8] Update mermaid version to 9.1.3, fix repeat toast & modify toast style.
- [1.2.7] Update mermaid version to 8.14.0, support GitHub native mermaid download.
- [1.2.6] Update mermaid version to 8.13.8, optimize configuration page interaction and style.
- [1.2.5] Update mermaid version to 8.13.5, fix preview issue of Bitbucket.
- [1.2.4] Added popup options page, providing domain exclusion and dom selector configuration.
- [1.2.3] Update mermaid version to 8.13.3.
- [1.2.2] Update mermaid version to 8.13.2.
- [1.2.1] Fix Toast.
- [1.2.0] Mermaid graph export.
- [1.1.0] Added bitbucket support, updated mermaid version to 8.12.1.
- [1.0.1] Update mermaid version to 8.12.0.
- [1.0.0] First released, mermaid version 8.11.5.

Rating

2 ratings

Total Installs

520

Information

Last Update

2023-04-12

Current Version

1.3.0

Size

1.1MiB

Author

zzzzzzzephyr

Website

None

Category

Developer Tools

Latest Reviews

See More

avatar Jason Denning
2023-03-17

Primarily using this with bitbucket and haven't had any issues with it yet.

avatar Jason Denning
2023-03-17

Primarily using this with bitbucket and haven't had any issues with it yet.

avatar Jason Denning
2023-03-17

Primarily using this with bitbucket and haven't had any issues with it yet.

avatar Jason Denning
2023-03-17

Primarily using this with bitbucket and haven't had any issues with it yet.

avatar Jason Denning
2023-03-17

Primarily using this with bitbucket and haven't had any issues with it yet.