structurizr / dsl

Structurizr DSL
https://docs.structurizr.com/dsl
Apache License 2.0
1.41k stars 265 forks source link

How to use .md files with !include #313

Closed mjawbt closed 1 year ago

mjawbt commented 1 year ago

Question

I'm trying to structure my files a little bit and split big files into smaller ones for readability purpose. I'm facing an issue and not sure if this is due to bad usage from my side.

Here is the structure I use so far:

The thing is if I !include models inside workspace.dsl it try to interpret the .md files and throw error.

structurizr validate -w .\workspace.dsl Unexpected tokens (expected: enterprise, group, person, softwareSystem, deploymentEnvironment, element, ->) at line 1: test at line 3: !include models

If I include each system dsl one by one it works.

Files attached in .zip workspace.zip

Should I change the structure of my project or is there a way to "ignore" .md files ?