---------------------------------------------------------------------- This is the API documentation for the gdtest_mermaid library. ---------------------------------------------------------------------- ## Functions Public functions greet(name: str) -> str Return a friendly greeting. Parameters ---------- name Who to greet. Returns ------- str The greeting. ---------------------------------------------------------------------- This is the User Guide documentation for the package. ---------------------------------------------------------------------- # Mermaid Captions A wide pipeline flowchart with a cross-referenceable caption (see @fig-pipeline). It should span the text column, with the caption underneath. ```{mermaid} %%| label: fig-pipeline %%| fig-cap: "The model-fitting pipeline, from raw data to a report." flowchart LR A[Load data] --> B[Validate] --> C[Fit model] --> D[Evaluate] --> E[Report] C --> F[Diagnostics] --> D ``` A small diagram with an unlabeled caption keeps its natural size: ```{mermaid} %%| fig-cap: "A tiny two-node diagram." flowchart LR A --> B ``` A diagram with no caption at all: ```{mermaid} flowchart TD Start --> Decision{OK?} Decision -->|Yes| Done Decision -->|No| Start ```