Mermaid lines not showing in xy chart

You create a .css file in the directory .obsidian > snippets. To see the hidden folder .obsidian, you:

  • on Windows: enable show Hidden File or
  • on Mac: press Command + Shift + .

Enable your newly created CSS file. Paste the code I’ve previously provided.

Please note that --mermaid-green-rgb is my own custom. You only need the stroke-width.

1 Like