3

Is there a way to set the size of diagram (i.e. flow chart) created with mermaid in Gitlab markdown? The default is just too large!

My markdown:

graph TD;
A[User click payment] --> B(Load Payment Gateway) --> C[User pay] --> D(Redirect to site)

Result:

enter image description here

Osh Mansor
  • 1,232
  • 2
  • 20
  • 42

1 Answers1

1

If you are using Gitlab on gitlab.com, then the problem is being caused by your PC. I typed your markdown on my gitlab.com repo, and my diagram appeared just fine (See image).

Try using a different browser or clearing the browser's cache

If you are using Gitlab on a hosted server, report this to your system administrator. Perhaps he needs to update the version of Gitlab currently installed.

abrac
  • 521
  • 5
  • 12