From d6b95f7c4bbb35f4abc9f922e4298ad472c68169 Mon Sep 17 00:00:00 2001 From: intergrav Date: Mon, 8 Jul 2024 05:15:37 -0400 Subject: [PATCH] fix: use npm in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 135e70c..79651ed 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,13 @@ A fast, open-source CDN for open-source fonts. Inspired by xz/fonts. You can vie In your CSS you could do: ```css -@import url('https://cdn.jsdelivr.net/gh/intergrav/fonts@1.x.x/serve/inter.min.css'); +@import url('https://cdn.jsdelivr.net/npm/@intergrav/fonts@1/serve/inter.min.css'); ``` Or in your HTML's `` you could do: ```html - + ``` Replace `inter` with the font name, of course. -- 2.51.2