Closed lovettchris closed 2 years ago
First, I think you're in the wrong place to post this question; this issue tracker is intended for html-proofer
related issues.
But second, I don't think this will ever work in GitHub. They keep a tight lock over how they render markup, and I'm betting they strip out those styles, making them unavailable.
I would recommend just using images instead of the CSS there. Take a screenshot of the individual icons and refer to them as PNG files. Best of luck.
But I can't find a way to do it that doesn't get stipped out by github. The reason I want to use a proper truetype font is because png images do not work properly on light and dark themes and I can never get the png to match the size of the font the user is using. So I want to add this at the top of my readme:
Then I can use these fonts like this in my readme:
Which in VS Code markdown rendering looks like this:
Notice how the fonts are very nicely colored and fit into the dark theme and fit the line height nicely and so on. Can you help me figure out how to do this and have it also work in github? Currently I get this mess: https://github.com/lovettchris/vscode-lean4/tree/clovett/cleanup