Skip to content

Commit

Permalink
chore: Add CDN mirrors available for mainland China (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
cxw620 authored Jan 13, 2023
1 parent 06f6310 commit 606cdbd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,18 @@ Put the jsDelivr `<link>` into your html head, then update the font-family.
</html>
```

The following are some `cdnjs` mirrors for mainland China, which have high service stability and low latency.
+ `cdn.bootcdn.net`
+ `www.staticfile.org`
+ `cdn.baomitu.com`
+ ...
```html
<!-- example of mirror cdn.bootcdn.net-->
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/lxgw-wenkai-webfont/1.6.0/style.min.css" />
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/lxgw-wenkai-screen-webfont/1.6.0/style.min.css" />
```
**Attention**: **ONLY** webfont `LXGW WenKai` and its screen version `LXGW WenKai Screen` are available at `cdnjs`, whose version is both the latest `1.6.0`. So are the mirrors.

#### Use specific font weights

You can also include specific weights if you don't want to use all the font
Expand Down

0 comments on commit 606cdbd

Please sign in to comment.