Copyright | © 2017–present Mark Karpov |
---|---|
License | BSD 3 clause |
Maintainer | Mark Karpov <markkarpov92@gmail.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Turn links into Font Awesome icons.
Synopsis
Documentation
fontAwesome :: Extension Source #
Allow to insert span
s with font awesome icons using autolinks like
this:
<fa:user>
This user
identifier is the name of icon you want to insert. You can
also control the size of the icon like this:
<fa:user/fw> -- fixed width <fa:user/lg> -- large <fa:user/2x> <fa:user/3x> <fa:user/4x> <fa:user/5x>
In general, all path components in this URI that go after the name of
icon will be prefixed with "fa-"
and added as classes, so you can do
a lot of fancy stuff, see http://fontawesome.io/examples/:
<fa:quote-left/3x/pull-left/border>
See also: http://fontawesome.io.