-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
bootstrap code styling #2634
Comments
We can see what can be done about that. However, I would also say that the "P" and "C" here should really not be code. Those should be math mode typeset with MathJax. |
That's fine for this one, but in general this is used when trying to tell the student what to type. I have no opinion on using the HTML |
I suppose if this comes to not using |
I was not saying that the |
To me I have never liked the default bootstrap color for code blocks and find that harder to deal with than the size. |
Yeah, the contrast is not sufficient against the problem background color. |
If you want to play with the style for code tags in a problem, the best place to do this is in the code {
--bs-code-color: black;
} This will specifically override Bootstrap's color. You could also just use Of course you can also play with the font size if you like. I don't use this in problems. I don't have any situation in any of my problems where I think that a |
Here's a screenshot from an exercise we use:
A student complained that the "P" and "C" in the instructions are too small and at first they thought these were lowercase. It turns out those are coming out at 0.875 scale. It seems this is bootstrap styling for a
code
HTML element, which is what PGML does for[| ... |]*
.Should we make
[| ... |]*
doe something else? Maybe stillcode
, but styled at 100%?The text was updated successfully, but these errors were encountered: