ocaml.org icon indicating copy to clipboard operation
ocaml.org copied to clipboard

[docs] Markdown inline code styling

Open MisterDA opened this issue 1 year ago • 0 comments

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.

MisterDA avatar Jul 18 '24 11:07 MisterDA