Installation
Mermaid Studio can be installed from the JetBrains Marketplace directly within your IDE, or downloaded manually.
Install from IDE (Recommended)
Section titled “Install from IDE (Recommended)”-
Open your JetBrains IDE (IntelliJ IDEA, WebStorm, PyCharm, etc.)
-
Open Settings (or Preferences on macOS):
- Windows/Linux:
File → Settings - macOS:
IntelliJ IDEA → Preferences(or⌘,)
- Windows/Linux:
-
Navigate to Plugins → Marketplace
-
Search for “Mermaid Studio”
-
Click Install
-
Restart your IDE when prompted
Install from JetBrains Marketplace Website
Section titled “Install from JetBrains Marketplace Website”-
Visit the Mermaid Studio plugin page on the JetBrains Marketplace
-
Click Install to IDE and select your IDE
-
Your IDE will open and prompt you to install the plugin
-
Restart your IDE when prompted
Install from Disk (Manual)
Section titled “Install from Disk (Manual)”For offline installation or testing pre-release versions:
-
Download the plugin
.zipfile from:- GitHub Releases
- Or build from source
-
Open Settings → Plugins
-
Click the ⚙️ gear icon and select Install Plugin from Disk…
-
Select the downloaded
.zipfile -
Restart your IDE
System Requirements
Section titled “System Requirements”- IDE Version: IntelliJ IDEA 2024.1 or later (or equivalent version for other JetBrains IDEs)
- Platform: Windows, macOS, or Linux
- Java: Bundled with IDE (no separate installation required)
Verify Installation
Section titled “Verify Installation”After installation, verify Mermaid Studio is working:
-
Create a new file with
.mmdor.mermaidextension (e.g.,diagram.mmd) -
Type the following:
flowchart TDA[Start] --> B[End] -
You should see:
- Syntax highlighting for keywords and nodes
- A preview panel showing the rendered diagram
Troubleshooting
Section titled “Troubleshooting”Plugin not appearing after installation
Section titled “Plugin not appearing after installation”- Ensure you’ve restarted your IDE completely
- Check Settings → Plugins → Installed to verify the plugin is enabled
- Check the IDE log for errors: Help → Show Log in Finder/Explorer
Preview panel not showing
Section titled “Preview panel not showing”- Open the preview with View → Tool Windows → Mermaid Preview
- Or right-click in the editor and select Show Mermaid Preview
Syntax highlighting not working
Section titled “Syntax highlighting not working”- Verify the file has a recognized extension (
.mmd,.mermaid) - Check that the plugin is enabled in Settings → Plugins → Installed