Skip to content

Diagrams

There are two ways to work with diagrams:

  1. Embed them in Markdown using code fences. This is the so-called text-to-diagram approach. For example:
  2. Use them as components inside MDX or Astro pages:

Ideal solution

Read more about different options and trade-offs here.