PER BERGMAN
Generative Architect — AI • Cloud • Blockchain • Distributed Systems
Senior Manager, EY · USA · LinkedIn · GitHub · Email
Agentic AIBlockchain systemsPublic funds traceabilityCarbon marketsDistributed systems

Mermaid Diagrams & Images Example

This page demonstrates how to use Mermaid diagrams and images in your MDX content.

Mermaid Diagrams

You can create diagrams using Mermaid syntax in code blocks:

Flowchart Example

Sequence Diagram

Images

Using Local Images

Place images in the public/images/ directory, then reference them:

![Description](/images/your-image.jpg)

Using External Images

You can also use images from external URLs:

![Placeholder](https://placehold.co/800x400)

Example:

Placeholder Image

Combining Both

You can mix diagrams and images in the same document:

That's it! Now you can use both Mermaid diagrams and images in all your MDX files.