mrwilson / adr-viewer

Generate easy-to-read web pages for your Architecture Decision Records
MIT License
144 stars 25 forks source link

Adds support for Mermaid diagrams in ADRs #45

Closed colindean closed 8 months ago

colindean commented 10 months ago

Create a codeblock with mermaid as the language tag and it'll render.

See the new test ADR for an example.

mrwilson commented 9 months ago

This looks great! One comment on the versioning of the mermaid JS import.

colindean commented 9 months ago

Ok, looks like the changes are rather large, so I'll have to set aside some time to look at it more closely at some point in the next week or so.

mrwilson commented 9 months ago

No worries at all - any contributions are appreciated. After you've landed it, I'll kick up RC2 with this and the latest changes I've made, then if it all looks good I'll release 1.5.0 soon after that.

colindean commented 9 months ago

I think this is ready to go now. GH is saying This branch cannot be rebased due to conflicts but upstream/master is fully merged into this branch…

mrwilson commented 8 months ago

Yeah, this is rebase problems from my model refactoring.

I've switched the project to allow merge commits temporarily, which GitHub is happy with (I can see the big green "Merge pull request" button), and will fold it in.

Thank you for the change!

colindean commented 8 months ago

Thank you!