Using Icons

Devicon

This book uses Devicon so you can see exactly how it's done in the repository.

  1. Download the stylesheet and put it in the root of your book.
  2. Download the fonts and put them in the theme/fonts/ directory of your book.
  3. Add the CSS file to the additional-css field of your book.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>
```