简体   繁体   中英

How do I use font awesome in Gitbook?

I noticed that font awesome is integrated into Gitbook. We have the following files under _book/gitbook/fonts/fontawesome/ ,

FontAwesome.otf  
fontawesome-webfont.eot  
fontawesome-webfont.svg  
fontawesome-webfont.ttf  
fontawesome-webfont.woff  
fontawesome-webfont.woff2

I add an icon, say <i class="fa-solid fa-circle"></i> , to a markdown file, however, the icon didn't show up as shown below.

在此处输入图像描述

How can I use awesome font in Gitbook?

GitBook doesn't support all awesome icon fonts. It would work using icons from Font Awesome Free's Cheatsheet .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM