Skip to content

Conversation

@mintlify
Copy link
Contributor

@mintlify mintlify bot commented Jan 21, 2026

Added documentation for the new actions and placement props for the mermaid diagram component. The actions prop controls interactive controls visibility, while placement positions controls in four corners.


Created by Mintlify agent


Note

Updates Mermaid docs to cover interactive control configuration and clarify default behavior.

  • Adds Properties section documenting actions (show/hide controls) and placement (corner selection, default bottom-right) with ResponseField entries
  • Provides example snippets for hiding controls, changing placement, and combining both
  • Updates sample Mermaid code fences to include placement="top-right"
  • Clarifies that controls appear by default when diagram height exceeds 120px

Written by Cursor Bugbot for commit 317dc01. This will update automatically on new commits. Configure here.

Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Copy link
Collaborator

@ethanpalm ethanpalm left a comment

Choose a reason for hiding this comment

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

a few suggestions for concision/consistency but lgtm

@pqoqubbw pqoqubbw merged commit f862302 into main Jan 21, 2026
6 checks passed
@pqoqubbw pqoqubbw deleted the mintlify/document-mermaid-diagram-params-44567 branch January 21, 2026 23:45
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.

3 participants