Skip to content

Conversation

@st3penta
Copy link
Contributor

This PR introduces the possibility to add mermaid diagrams directly as code in the antora docs.

These diagrams are then rendered client-side in real time. They support zooming and panning, making them really easy to view and navigate.

Support for mermaid will allow for easy integration of high level conforma diagrams into our docs, that are easily versionable (as opposed to embedding pre-rendered images generated by other tools)

Assisted by: Claude Code

Ref: https://issues.redhat.com/browse/EC-1270

1756465615 1756465637

@github-actions
Copy link
Contributor

🚀 Preview is available at https://2354b4e7.enterprise-contract.pages.dev

}
}

module.exports = createMermaidExtension() No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick about the final newline.

(Side-note: Claude told me that it respects an .editorconfig file which might be a permanent fix for this nit...)

This PR introduces the possibility to add mermaid diagrams directly as
code in the antora docs.

These diagrams are then rendered client-side in real time. They support
zooming and panning, making them really easy to view and navigate.

Support for mermaid will allow for easy integration of high level
conforma diagrams into our docs, that are easily versionable (as
opposed to embedding pre-rendered images generated by other tools)

Assisted by: Claude Code

Ref: https://issues.redhat.com/browse/EC-1270
@st3penta st3penta force-pushed the add-mermaid-support branch from 59098aa to ac57ae1 Compare September 3, 2025 10:38
@st3penta st3penta merged commit acb312a into conforma:main Sep 3, 2025
2 checks passed
@st3penta st3penta deleted the add-mermaid-support branch September 3, 2025 10:39
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