In addition to the usual Markdown/AsciiDoc syntax for including images, you can embed live versions of the C4 model diagrams from your workspace into your documentation.
For example, the following will embed the diagram with the key
MyDiagramKey into the documentation page.
Alternatively for the cloud service, if your workspace is public or shareable with a link,
you can use the URL of the published image, such as
Structurizr will see that this link corresponds to a diagram in your workspace,
and replace the static PNG image with a live embedded version.
Using this approach means that your Markdown/AsciiDoc files will be rendered to include the static image
when they are viewed outside of Structurizr.
You can also provide some parameters, to customise the embedded diagram.
type: The type of visualisation to embed;
perspective: The name of the perspective to show.