Let your AI assistant set it up. Connect the Super MCP to Claude, ChatGPT or another assistant and paste this prompt:
Use the Super MCP to use my GitHub-hosted fonts on my Super site [site name].
Follow the guide at https://docs.super.so/help/widgets-and-advanced-how-tos/how-to-host-and-use-fonts-using-github and keep all existing code.
Headings font: [font name and URL]. Body font: [font name and URL].
Then show me a preview of the home page.Here are some resources for how to host fonts with Github:
- https://stackoverflow.com/questions/39693837/how-do-i-use-github-to-host-a-webfont#39699583
- https://github.com/KarlPiper/Github-Font-Hosting
To set the fonts in Super use this CSS to set the primary (headings) font and the secondary (body text) font:
:root {--primary-font: FONTNAME, FALLBACK-FONTNAME !important;--secondary-font: FONTNAME, FALLBACK-FONTNAME !important;}The fallback fonts can be as generic or specific as you like. At a minimum use serif or sans-serif as the fallbacks as approapriate.
Note that these fonts will be accessible for others to download and this method is not recommended for purchased proprietary fonts.