Skip to content

Inline code format uses newline in Chrome #928

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

Closed
Melvillian opened this issue Sep 21, 2017 · 2 comments
Closed

Inline code format uses newline in Chrome #928

Melvillian opened this issue Sep 21, 2017 · 2 comments

Comments

@Melvillian
Copy link

Both First and Second editions put any code formatted phrases (for instance val) on its own line. See the example screenshot below. This does not happen in Safari or Firefox, where it's formatted correctly inline.

I don't know enough about mdbook to say whether this is a problem with rust-lang/book or with Chrome, but I didn't see an issue yet and it's enough of an annoyance for readers that I thought it'd be worth adding an issue.

image

@steveklabnik
Copy link
Member

This is rust-lang/rust#44704; check out the long debug session I had yesterday 😄

This repo would be the right place to file this, but it's in the end, an mdbook bug, which we'll be fixing soon. As such, I'm going to close this bug, as we don't need it to track. Thanks so much for reporting!

A temporary workaround is to switch themes and switch back.

@Melvillian
Copy link
Author

Thanks for the fast response time @steveklabnik !

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

No branches or pull requests

2 participants