Obsidian does not obey Mermaid rendering directives e.g. curve, defaultRenderer

Steps to reproduce

  1. new note
  2. paste the following example
title: Configure in Quote Entry
%%{init: {"flowchart": {"curve": "stepBefore", "defaultRenderer": "elk" }} }%%
graph LR
start((Start)) -->
1{Is Part setup<br>for Configuration?} -- Yes --> 2
1 -- No --> stop
2[[Configure Part]] -->


Expected result

elk renderer will make connecting points from the diamond shape points (instead of the sides).

Actual result

Observe the default render has not changed to “elk”.
Connecting lines come from the sides of the diamond shape.


Obsidian version: v1.2.8
Installer version: v0.14.15
Operating system: Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 22.4.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: Minimal v6.1.11
Snippets enabled: 1
Restricted mode: off
Plugins installed: 38
Plugins enabled: 33
1: Advanced Tables v0.18.1
2: Dataview v0.5.55
3: Calendar v1.5.10
4: Advanced Slides v1.20.0
5: Minimal Theme Settings v6.3.1
6: Pandoc Plugin v0.4.1
7: Diagrams v1.5.0
8: Imgur Plugin v2.2.1
9: Settings Search v1.3.7
10: Recent Files v1.3.5
11: Paste URL into selection v1.7.0
12: Periodic Notes v0.0.17
13: Tracker v1.10.9
14: Templater v1.16.0
15: Plugin Update Tracker v1.4.6
16: Note Refactor v1.7.1
17: Janitor v1.0.7
18: Natural Language Dates v0.6.1
19: GPT-3 Notes v0.2.7
20: CodeMirror Options v0.9.5
21: D2 v1.1.3
22: Audio Notes v0.7.2
23: Media Extended v2.11.1
24: Contextual Typography v2.2.5
25: Table of Contents v0.2.0
26: Outliner v4.7.1
27: Kanban v1.5.3
28: Ozan’s Image in Editor Plugin v2.2.3
29: Tasks v3.6.0
30: Text Generator v0.3.17
31: Commander v0.5.0
32: Projects v1.15.3
33: Better PDF Plugin v1.4.0

Additional information

We don’t support this yet.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.