Skip to main content

Font Awesome Pro + Material for MkDocs

Project description

fa-material

PyPI - Python Version PyPI GitHub release (latest SemVer) PyPI - License Code style: Black

fa-material is the easiest way to use Font Awesome Pro icons in your Material for MkDocs project.

An active Font Awesome Pro license is required to use fa-material.

Installation

  1. Install Font Awesome Pro's Python package.

  2. Install fa-material.

    pip install fa-material
    

Usage

Add the fontawesome-pro plugin to mkdocs.yml:

plugins:
  - fontawesome-pro

That's it. You can now use Font Awesome Pro icons in the same way you already do Font Awesome Free icons (e.g. :fontawesome-thin-user-secret:). They'll work in Markdown files, mkdocs.yml, and anywhere else Material for MkDocs' icon system is used.

Font Awesome 5

You can use Font Awesome 5 with fa-material by setting fontawesome-pro's version option to 5.

plugins:
  - fontawesome-pro:
      version: 5

This option must be either 5 or 6, defaulting to the latter.

License

fa-material is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fa_material-1.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

fa_material-1.1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page