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

github style: Bold not preserved with code #64

Open
arkadianriver opened this issue Nov 25, 2017 · 0 comments
Open

github style: Bold not preserved with code #64

arkadianriver opened this issue Nov 25, 2017 · 0 comments

Comments

@arkadianriver
Copy link

Hiya.. minor style suggestion.. to preserve bold in this case: **`myFunction()`**

Currently, in the github style, the full font specification for code is overriding the bold. Suggest to use family specifically, to preserve bold when applied. Suggest to change lines 195-197 of github-markdown.css from

.markdown-body code {
  font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

to

.markdown-body code {
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

I also removed the overriding size here because the size is already set to 85% on line 421. And, that's good because if you were to have a ## `MonospacedHeading` you wouldn't want a fixed 14px size anyway. 😸

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

1 participant