Skip to content

Add Mermaid diagram support (#29)#30

Merged
yfanti merged 1 commit into
masterfrom
feature/add-support-for-mermaid-diagrams
Mar 23, 2026
Merged

Add Mermaid diagram support (#29)#30
yfanti merged 1 commit into
masterfrom
feature/add-support-for-mermaid-diagrams

Conversation

@rousso

@rousso rousso commented Mar 15, 2026

Copy link
Copy Markdown
Contributor

This pull request adds support for rendering Mermaid diagrams in the documentation. It introduces new sections in the AsciiDoc file with Mermaid diagram source code and a JavaScript file to render these diagrams using the Mermaid library.

Documentation Enhancements:

  • Added a new "Mermaid Diagrams" section to preview-src/index.adoc, including examples of a class hierarchy and a flowchart using Mermaid syntax.

Mermaid Rendering Support:

  • Added src/js/08-mermaid.js, which loads the Mermaid library and replaces code blocks with rendered diagrams for all code.language-mermaid blocks on the page.

@rousso rousso requested a review from yfanti March 15, 2026 22:40
@yfanti yfanti merged commit ebf087b into master Mar 23, 2026
1 check passed
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.

2 participants