Mermaid Themes

by jvsteiner
5
4
3
2
1
Score: 35/100

Description

Category: Customization & UI

The Mermaid Themes plugin allows Obsidian users to customize and apply themes to their mermaid.js diagrams. Users can either provide a complete mermaid theme object or modify specific parts of the base theme, with the plugin merging changes seamlessly. This enhances the visual appeal of diagrams by supporting advanced theming options. Users are required to use an alternative code block label (merm) instead of the default mermaid to integrate themes. The plugin leverages mermaid.js theming features, providing a flexible way to improve diagram aesthetics in notes.

Reviews

No reviews yet.

Stats

5
stars
14,905
downloads
0
forks
1,027
days
1,067
days
1,067
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
2
total issues
2
open issues
0
closed issues
0
commits

Latest Version

3 years ago

Changelog

updates required for making the community list

README file from

Github

Mermaid Themes

This is a plugin for Obsidian. It was generated based on the standard plugin template.

This project allows the user to easily apply and customize themes to mermaid.js diagrams in obsidian.

This plugin is supported by advertisements.

Note: this plugin is still in development, and there may be some bugs. Please report any issues you find.

It was inspired by the awesome new plugin for publishing your note content to Confluence. This project introduced me to Mermaid, and prompted me to make this.

Usage

Allows you to apply other themes to your mermaid diagrams in your notes. There are two main options, which are mutually exclusive. Either you supply an entire mermaid theme object, or you provide the parts of that object that you want to change. The plugin will then merge your customizations with the base theme, and apply the result to your diagrams. Documentations about how to create and use mermaid themes can be found here.

The mermaid code fence label is reserved. You have to use merm as an alternate. The code block looks like:

    ```merm
    ```

Installation

Until this plugin is available in the community plugins list, you can install it as a beta tester using the BRAT plugin.

Details on how to use it are available in their documentation. The short version is that you can install this plugin by adding the following custom plugin repository to your list of repositories in the BRAT plugin settings.

Development

PR's are welcome. You can build the plugin with npm run build and the plugin will be built to the root folder, so using the built artifacts is easy. You can also run npm run dev to have it automatically rebuild when you make changes.

Releasing new releases

This section is here to remind me how to release this.

Update your manifest.json with your new version number, such as 1.0.1, and the minimum Obsidian version required for your latest release.

Update your versions.json file with "new-plugin-version": "minimum-obsidian-version" so older versions of Obsidian can download an older version of your plugin that's compatible.

Create new GitHub release using your new version number as the "Tag version". Use the exact version number, don't include a prefix v. See here for an example: https://github.com/obsidianmd/obsidian-sample-plugin/releases

Upload the files manifest.json, main.js, styles.css as binary attachments. Note: The manifest.json file must be in two places, first the root path of your repository and also in the release.

Publish the release.

You can simplify the version bump process by running npm version patch, npm version minor or npm version major after updating minAppVersion manually in manifest.json. The command will bump version in manifest.json and package.json, and add the entry for the new version to versions.json

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Obsidian Graphviz
4 years ago by Feng Peng
Graphviz plugin for obsidian md.
Diagrams.Net
4 years ago by Jens M Gleditsch
This repository contains a plugin for Obsidian for inserting and editing diagrams.net (previously draw.io) diagrams.
Group Snippets
4 years ago by Mara-Li
Create folder of snippets to activate them in one click !
Day and Night
4 years ago by Kevin Patel
An Obsidian plugin to automatically switch between day and night themes based on a set schedule
TikZJax
4 years ago by artisticat1
Render LaTeX and TikZ diagrams in your notes
Theme Toggler
4 years ago by larsmagnus
Toggle the theme in Obsidian's panels
Dynamic Background
4 years ago by Samuel Song
Adding dynamic background effects to the Obsidian editor
D2
3 years ago by Terrastruct
The official D2 plugin for Obsidian. D2 is a modern diagram scripting language thats turns text to diagrams.
Mermaid Tools
3 years ago by dartungar
Tools for improved Mermaid.js experience in Obsidian.md
Adamantine Pick
3 years ago by Urist McMiner
Embeddable Pikchr(https://pikchr.org) diagrams renderer plugin for Obsidian(https://obsidian.md)
Callout Manager
3 years ago by eth-p
An Obsidian.md plugin that makes creating and configuring callouts easy.
Code Styler
3 years ago by Mayuran Visakan
A plugin for Obsidian.md for styling codeblocks and inline code
HelpMate
2 years ago by TfTHacker
HelpMate for Obsidian - providing help and documentation from within Obsidian
VARE
2 years ago by 4Source
This is a plugin for Obsidian (https://obsidian.md). Allows you to easily manage your plugins and themes inside Obsidian.
Mehrmaid
2 years ago by huterguier
Rendering Obsidian Markdown inside Mermaid diagrams.
Fast Text Color
2 years ago by Leon Holtmeier
Obsidian plugin to enable colored text with a custom syntax.
Minimal Theme Settings
5 years ago by @kepano
Settings plugin to control colors and fonts in Minimal Theme
Style Settings
5 years ago by mgmeyers
A dynamic user interface for adjusting theme, plugin, and snippet CSS variables within Obsidian
Excalidraw
5 years ago by Zsolt Viczian
A plugin to edit and view Excalidraw drawings in Obsidian
Kroki
5 years ago by Greg Zuro
WaveDrom
5 years ago by Alex Stewart
Theme Picker
5 years ago by kenset
Diagrams
5 years ago by Sam Greenhalgh
Draw.io plugin for obsidian.md
Nomnoml Diagram
5 years ago by Daeik Kim
Obsidian Plugin for nomnoml diagram
Auto Class
4 years ago by Nathonius
Automatically add CSS classes to notes based on file path.
Theme Design Utilities
4 years ago by pseudometa
Some utilities and Quality-of-Life features for designers of Obsidian themes.
Pintora
2 years ago by Amias Lee
Create Pintora diagrams directly in the Obsidian.
Diagram Zoom Drag
2 years ago by ChenPengyuan
Mermaid Popup
2 years ago by ChenPengyuan
Auto switch themes between dark/light mode
a year ago by Robert Storlind
Obsidian plugin for switching themes when toggling dark/light mode
Friday
a year ago by sunwei
Write anywhere. Publish everywhere. Sync your notes, publish instantly, turn Markdown into websites.
Obsifetch
a year ago by tabibyte
neofetch but for obsidian
Theme Controller
a year ago by Binaris
Set when and how the themes will be displayed
MoreDraw
a year ago by webceoboy2011
mordraw.com for obsidian plugin
Sankey
a year ago by Finn Romaneessen
An Obsidian plugin to create sankey diagrams
Flowcharts
a year ago by land0r
Flowchart Plugin for Obsidian – Create and customize flowcharts seamlessly within your Obsidian vault. Powered by Flowchart.js and designed for productivity
Export Graph View
a year ago by Sean McGhee
Plugin to export your vault's graph view.
Smart DayNight switcher
a year ago by Andrii Hrushetskyi
Theme toggle
a year ago by @gapmiss
Obsidian.md plugin … adds a ribbon icon and command for toggling between dark & light theme modes.
Rainbow-Colored Sidebar
a year ago by Kevin Woblick
Automatically color your sidebar like a rainbow. No configuration needed. 8 themes included.
GoBoard
4 months ago by Dmitry I. Sokolov
Obsidian plugin for rendering Go game diagrams from markdown code blocks
Mermaid Icons
3 months ago by toshs
Obsidian plugin enabling the use of icons in Mermaid diagrams.