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

[docs] Markdown inline code styling #2603

Open
MisterDA opened this issue Jul 18, 2024 · 0 comments
Open

[docs] Markdown inline code styling #2603

MisterDA opened this issue Jul 18, 2024 · 0 comments

Comments

@MisterDA
Copy link
Contributor

On the docs pages, inline code rendered from markdown or ocamldoc comments has a monospace font (good!) but an increased font-weight:

.prose :where(code):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-size: 1em;
  font-weight: 600;

It's confusing to me. I think the font weight should be the same as regular code, and it's usual to have inline code in an inline frame, styled the same as regular code blocks. Currently inline code just looks bold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant