All documentation examples/configs must be compatible with the docs build/render pipeline and current Mermaid configuration conventions.
Apply this checklist when touching documentation:
themeVariables) over deprecated %%{init: ...}%% in examples.(v<MERMAID_RELEASE_VERSION>+) (or the project’s equivalent placeholder) when the behavior is version-dependent.mermaid-example, include one block—don’t add multiple identical code fences.Example (correct: frontmatter + single mermaid-example + version tag):
```mermaid-example
---
title: ELK layout example
config:
layout: elk
---
erDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains
```
Example (avoid):
%%{init: ...}%% when examples have been migrated to YAML/frontmatter.mermaid-example block twice (final docs will render duplicates).Enter the URL of a public GitHub repository