Skip to content

Add support for background colors on fenced code blocks in Markdown#53648

Open
scfurl wants to merge 1 commit intozed-industries:mainfrom
scfurl:feature/fenced-code-background
Open

Add support for background colors on fenced code blocks in Markdown#53648
scfurl wants to merge 1 commit intozed-industries:mainfrom
scfurl:feature/fenced-code-background

Conversation

@scfurl
Copy link
Copy Markdown

@scfurl scfurl commented Apr 10, 2026

#7336

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the [UI/UX checklist](https://github.com/zed-
    industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Closes #7336 (Technically it was already closed, but this solves the issue which was punted before closing)

Replaces #53180 (which was opened from my fork's main branch and included unrelated commits).

Release Notes:

  • Added full-width background color support for markdown fenced code blocks,
    configurable via text.literal.block.markup in theme syntax overrides
  • On the left is the current Zed build, on the right is the new build after incorporating code changes
image

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Apr 10, 2026
@zed-codeowner-coordinator zed-codeowner-coordinator bot requested a review from a team April 10, 2026 19:12
@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 Apr 10, 2026
@scfurl scfurl force-pushed the feature/fenced-code-background branch from c9ae224 to 1235968 Compare April 10, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Markdown code snipped background color specification

1 participant