-
Notifications
You must be signed in to change notification settings - Fork 201
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
"Strong" text is no different from regular text #122
Comments
Just realizing I should probably have filed this in the |
I transferred it 😄 |
This did not solve the problem for me.
|
Hmmm, I am not sure what to tell you, it's hard to fix without being able to reproduce the bug. Could you post a link to a website you've built where this issue shows up? As well as the repo? |
Yep same here. @nathancarter a good way to check out the page styling is using the Firefox inspector. As you can see below the word is given the Note it is also possible to add configuration to jupyter-book/sphinx to override the default CSS |
OK that's helpful, but I have to confess I'm completely confused about something else now. I took your suggestion, created a custom CSS file in my b, strong {
font-weight: bold;
} I then rebuilt the book and used the Chrome dev tools to verify that the And yet the page looks exactly the same in Chrome, but looks correct in Firefox. I'm at a loss. I realize this is not a |
Interestingly I get something similar with @nathancarter. Here's a screenshot of an example: Now, here's what the same text looks like when I remove the font-family |
oh ho - maybe it's a fonts issue! |
This definitely seems like progress, but I confess that I don't know what to do to solve my problem (which is to make it show up on all browsers). Should I be changing the theme to use a different font? |
well, it's tough to say because it sounds like it is dependent on the user's computer. I think one thing to try is make sure that the fonts used by sphinx-book-theme are on your computer. If not, then install them and see if that fixes it so we can pinpoint the issue. If SBT is using something non-standard then we should switch to whatever the standard is. |
I'd want to be sure that anyone viewing my book sees the style as intended, so if there's even a possibility that any normal computer (such as my Mac) doesn't have the fonts to see the styles in my code, I'd want to use a different style. |
For sure - we just need to pinpoint what is the style issue that's causing this problem, so that we know what to fix |
This seems to have been fixed by pydata/pydata-sphinx-theme#222. |
yep, we just need the pydata theme to release a new version, then bump its dependency in the SBT and we should be good-to-go |
I believe this is now fixed in by pydata-sphinx-theme v0.4 |
Yes. Somehow I thought I had replied somewhere and confirmed that this was fixed for me, but I can't find my reply right now. Either way, thank you all--works great! |
I use Github Action to deploy the website, and started having the same problem - bold texts are not different from regular ones. I do not specify versions in
which are equivalent to the environment I used to locally create When I open the Github Action-created website, it shows bold texts correctly but for less than half second, and then those texts turn quickly "regular". [EDIT] |
Describe the bug
Text marked with
<strong>...</strong>
(obtained by**...**
in Markdown in jupyter-book) looks just like regular text.To Reproduce
Steps to reproduce the behavior:
<strong>...</strong>
tags around the text.Expected behavior
Strong text should appear emphasized, typically using bold.
The screenshot below was generated from the following Markdown:
Environment (please complete the following information):
pip show jupyter-book
says the version is 0.7.0b4.dev0The text was updated successfully, but these errors were encountered: