Custom code font #8571
-
Make it easy for users to choose their own code font, currently I have this snippet of CSS where it can easily break at anytime due to changes no matter how large or small. .bBrJyO {
font-family: sans-serif;
}
.buBiHK, /* Homepage code example */
.ckbNLI, /* Directory tree header */
.gxMGxq, /* Directory tree entry */
.jeLmvk, /* Directory tree up entry */
.iJPfxe, /* File path */
.iRDwdS, /* File LOC */
.jBicmA, /* File size */
.kBthvh, /* Code viewer */
.dhulmV, /* Selected definition */
.ktSXeD, /* Definition in flyout */
.hdkQmd, /* Definition LOC in flyout */
.bEUCKo, /* Matched code in flyout */
.iklEZP /* Selected code in flyout */
{
font-family: monospace;
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Oh, that's super annoying b/c those classes are going to change all the time! Good feedback. |
Beta Was this translation helpful? Give feedback.
-
OK @intrnl, I've got a fix out now that adds the class |
Beta Was this translation helpful? Give feedback.
OK @intrnl, I've got a fix out now that adds the class
code-font-mono
to anything that's rendering code in a monospaced font. You might need to hard refresh to force loading a new set of assets, but let me know if that helps (or not)!