structurizr / lite

Structurizr Lite
https://docs.structurizr.com/lite
MIT License
232 stars 28 forks source link

AsciiDoc preview doesn't hold the right order of Headings #20

Closed temurchichua closed 1 year ago

temurchichua commented 1 year ago

Hey,

Preview of my .adoc file doesn't hold the right order of the headings. There is only one level 2 headings and every other level 3 heading is appended to that one.

This is my doc file: image

This is how it looks in Structurizrz lite: image

Is it a bug or am I doing something wrong?

simonbrowndotje commented 1 year ago

Each section (designated by a level 2 heading) needs to be in a separate file, so you need to split the file at == Components. See https://github.com/structurizr/dsl/blob/master/docs/language-reference.md#documentation for more.

temurchichua commented 1 year ago

I've structured each of the level 2 headings in independent files starting with corresponding == Component name like this: image and it works like a charm: image Thanks for all your help @simonbrowndotje !