Skip to content

Make mermaid diagram font family configurable to fix #63428 - #63430

Open
Sha1rholder wants to merge 1 commit into
zed-industries:mainfrom
Sha1rholder:configurable-mermaid-font
Open

Make mermaid diagram font family configurable to fix #63428#63430
Sha1rholder wants to merge 1 commit into
zed-industries:mainfrom
Sha1rholder:configurable-mermaid-font

Conversation

@Sha1rholder

Copy link
Copy Markdown

Objective

Fix #63428

Solution

Add a settings option "mermaid_font_family" to allow escape from "ui_font_family". Does not affect any default behavior.

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content adheres to Zed's UI standards (UX/UI and icon guidelines)
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Showcase

Image image

Release Notes:

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Aug 29, 2026
@zed-community-bot zed-community-bot Bot added the first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions label Aug 29, 2026
@ChristopherBiscardi ChristopherBiscardi added the area:preview/mermaid Feedback for Zed's Mermaid diagram support label Aug 31, 2026
@ChristopherBiscardi ChristopherBiscardi self-assigned this Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:preview/mermaid Feedback for Zed's Mermaid diagram support cla-signed The user has signed the Contributor License Agreement first contribution the author's first pull request to Zed. NOTE: the label application is automated via github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mermaid SVG font family is not configurable, causing unfixable CJK font fallback

2 participants