Skip to content
1 change: 1 addition & 0 deletions doc/changelog.d/652.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
update the style for highlight name function
Original file line number Diff line number Diff line change
Expand Up @@ -779,3 +779,12 @@ button.btn.version-switcher__button:hover {
span.math {
display: math;
}

/**
* code block name function
*/

div.highlight .nf{
font-family: var(--ast-body-family);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a dedicated monospace font for code. So far, our body font is "Open Sans, sans-serif". Any chance we can have an --ast-code-family?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be great!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah sure . adding the monospace to code

-webkit-font-smoothing: auto;
}
Loading