Using Icons
Devicon
This book uses Devicon so you can see exactly how it's done in the repository.
- Download the stylesheet and put it in the root of your book.
- Download the fonts and put them in
the
theme/fonts/
directory of your book. - Add the CSS file to the
additional-css
field of yourbook.toml
.
FontAwesome 4
At the moment, mdBook relies on Font Awesome 4 which means you don't need to install anything.
```html,icon=.fa.fa-html5
<h1>Hello, World</h1>
```