Skip to content

Code review with mermaids#1

Merged
thomaskileyukaea merged 3 commits intorework-review-sectionfrom
code-review-with-mermaids
Oct 10, 2023
Merged

Code review with mermaids#1
thomaskileyukaea merged 3 commits intorework-review-sectionfrom
code-review-with-mermaids

Conversation

@thomaskileyukaea
Copy link
Copy Markdown
Owner

Using mermaid diagrams in line

By extending the layout we can load the mermaid script directly to use
diagrams in the lesson
By default the diagrams generated by mermaid use max-width property.
This means that they cannot be centre aligned in their parent container.
Disabling this combined with setting the element to be 100% with auto
margins will centre the diagram.
No reason to have a grey background on the diagrams
@thomaskileyukaea thomaskileyukaea merged commit 6542fa6 into rework-review-section Oct 10, 2023
@thomaskileyukaea thomaskileyukaea deleted the code-review-with-mermaids branch October 10, 2023 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant