Custom fonts in Github's markdown (like README.md)?

n0pe picture n0pe · Feb 13, 2013 · Viewed 18.5k times · Source

Is it possible to use custom fonts with github's markdown? I'm currently loading an image as a logo, yet rendering a font would be faster and nicer.

Answer

VonC picture VonC · Feb 13, 2013

rendering a font would be faster and nicer.

Yes, except you wound not use any (multiple) colors in said "icon as a font".
See "GitHub redesigns its icons using a custom font"

You can, of course, take a monotone font-rendered icon and set its colour to, for example, red or blue, but that changes the entire icon; you can’t have different parts of the icon use different colours, or use shading

(example of CSS effects for Icon Font here, from the Trello article)

But, as far as I can see (Markdown Cheatsheet, and Markdown Help), no, you cannot have a custom font.