# Mermaid Previewer
## github has natively supported mermaid since 2022-02-14 [link](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/)
A chrome extension for previewing and exporting mermaid in github/bitbucket.
Set the code block language to mermaid in markdown:
```mermaid
graph LR
A --> B
```
Right-click on the rendered mermaid image and select "Export png" to export the png image.
## Support list
- [x] GitHub
- [x] mermaid export
- [x] Bitbucket
- [x] readme
- [x] markdown preview
- [x] edit preview
- [x] ...
- [x] mermaid export.
- [x] Provide custom exclusion list and rule list configuration capabilities.
## 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.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 picture 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.
Extore is a team of professionals who are passionate about creating extensions for web browsers. This devotion also gives us opportunity to appreciate work of other people. We get inspired by useful, open source extensions made by developers all over the world. Our strong belief is that one should share helpful add-ons with others. That’s why we’d like to present you our ever-growing list of favourite extensions that have inspired us. Moreover, as you probably have already learned, sometimes struggling for the best brings an end to the good. Talking about add-ons it often turns out that an upgrade is worse then previous version. Also it can become really tricky to get back to the beloved version of your favourite extension. That’s why we’re going to make not only the latest, but all versions of our favourite (and we hope yours too) add-ons available for download. No more compromises, just stick to the version you really like!