Skip to content

Change code font to use proper monospace fonts#792

Merged
eliotwrobson merged 4 commits intopyOpenSci:mainfrom
eliotwrobson:monospace
Jan 27, 2026
Merged

Change code font to use proper monospace fonts#792
eliotwrobson merged 4 commits intopyOpenSci:mainfrom
eliotwrobson:monospace

Conversation

@eliotwrobson
Copy link
Contributor

Removed "Poppins" from the $monospace variable as it is not a monospace font. This was causing alignment issues in code blocks.

The font stack now properly uses Monaco, Consolas, Courier New, and generic monospace fallback

Closes #379

Removed "Poppins" from the $monospace variable as it is not a monospace font.
This was causing alignment issues in code blocks, particularly for dataframe
representations where column names need to align with their values.

The font stack now properly uses Monaco, Consolas, Courier New, and generic
monospace fallback.
@eliotwrobson eliotwrobson marked this pull request as ready for review January 27, 2026 03:08
@eliotwrobson eliotwrobson merged commit 4809b00 into pyOpenSci:main Jan 27, 2026
4 checks passed
@eliotwrobson eliotwrobson deleted the monospace branch January 27, 2026 13:59
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.

Change font in code to monospace

2 participants