When an invalid Font Awesome icon name is used (e.g. in git-repository-icon),
the error message now includes the icon name, the type that was searched,
valid prefix options (fas/fab/far), and a link to the FontAwesome icon gallery.
Before: Missing font github
After: Unknown Font Awesome icon `github` for type `regular`. Hint: check
the icon name and prefix (fas (solid), fab (brands), or far (regular))
at https://fontawesome.com/v6/search?m=free
Fixes #3023
6 lines
139 B
TOML
6 lines
139 B
TOML
[book]
|
|
title = "fontawesome_error"
|
|
|
|
[output.html]
|
|
git-repository-url = "https://github.com/example/test"
|
|
git-repository-icon = "fa-github"
|