In this example you'll see how to automate rendering of DSL diagram in github markdown that will look like this containers diagram
-
Diagram in DSL format is stored in DSL file.
-
Github Action Wokrflow uses C4 Render action to render diagram to markdown files. Here is the workflow file
It also generates Readme file with table of content.
DSL Language reference: https://github.com/structurizr/dsl/blob/master/docs/language-reference.md
More on C4: https://c4model.com/
Check out C4 demo: https://structurizr.com/dsl