adrianvlupu / C4-Builder

This is a documentation builder. You feed it .md and .puml and it exports a site, pdf, or a markdown with navigation.
https://adrianvlupu.github.io/C4-Builder/
MIT License
562 stars 93 forks source link

Diagrams at arbitrary positions not working for more than one file #62

Closed vellala2000 closed 2 years ago

vellala2000 commented 2 years ago

When there is more than one ![name](name.puml) in a .md file, build replacing all the file with the first one.

// test.md file

![name1](name1.puml) 
![name2](name2.puml) 

after running build all .puml references are replace with first .svg file,

//afterbuild.md file

![diagram](name1.svg)
![diagram](name1.svg)

expected

//afterbuild.md file

![diagram](name1.svg)
![diagram](name2.svg)
adrianvlupu commented 2 years ago

You are right, MickeJohannesson fixed it. It should be ok now.

vellala2000 commented 2 years ago

Thank you !!. @MickeJohannesson @adrianvlupu