Mermaid markdown strings don't work

Steps to reproduce

Open Flowcharts Syntax | Mermaid
copy Markdown Strings example:

%%{init: {"flowchart": {"htmlLabels": false}} }%%
flowchart LR
subgraph "One"
  a("`The **cat**
  in the hat`") -- "edge label" --> b{{"`The **dog** in the hog`"}}
subgraph "`**Two**`"
  c("`The **cat**
  in the hat`") -- "`Bold **edge label**`" --> d("The dog in the hog")

Expected result

text formatting options such as bold and italics

Actual result

** and * before and after text in labels don’t work.


Obsidian version: v1.1.16
Installer version: v0.15.8
Operating system: #41~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 31 16:00:14 UTC 2 5.19.0-40-generic
Login status: not logged in
Insider build toggle: off
Live preview: off
Legacy editor: off
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 2
Plugins enabled: 0


Additional information

Maybe mermaid part is too old

This is probably in mermaid 10 and we haven’t migrated yet. Not ETAs

Since I’ve already capture the screenshot, I just post it here:

@Nitten: How do you generate that system info quickly?

will be fixed in v1.4.

Note that text isn’t made bold or italic in the mermaids live editor too, so that’s an upstream problem

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