Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't highlight code spans in headers. #1162

Merged
merged 1 commit into from
Mar 24, 2020

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Mar 9, 2020

This changes it so that code spans in headers are not highlighted as code, and don't change the font size.

@ehuss
Copy link
Contributor Author

ehuss commented Mar 9, 2020

I've always felt like the formatting for these didn't look very good. Any opinion?

Before:
image

image

image

After:
image

image

image

I'm not 100% happy with the new styling, but seems less jarring to me.

@Dylan-DPC-zz
Copy link

Yeh looks fine to me. Merging :)

@Dylan-DPC-zz Dylan-DPC-zz merged commit 4e8e1e1 into rust-lang:master Mar 24, 2020
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
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.

None yet

2 participants