ocaml.org
ocaml.org copied to clipboard
[docs] Markdown inline code styling
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.