A Sphinx fontawesome wrapper for SVG format
Project description
Install the module :
python setup.py install
Download SVGs from fontawesome website. Configure it in your conf.py:
fa_brands_path = '_static/fa/brands.svg'
fa_regular_path = '_static/fa/regular.svg'
fa_solid_path = '_static/fa/solid.svg'
Use inline references for brands, regular or solid:
Display an icon, with no alt text and aria-hidden:
:fab:`icon`
:far:`icon`
:fas:`icon`
:fab:`icon[alt text]`
:far:`icon[alt text]`
:fas:`icon[alt text]`
An icon with some attributes:
.. far:: icon
:class: myclass
:id: myid
:alt: alt text
For links with fasvglink and icon name as classes.
This can be used to create fancy social links
:fablink:`icon: Text <url>`
:farlink:`icon: Text <url>`
:faslink:`icon: Text <url>`
:fablink:`icon: Text[alt text] <url>`
:farlink:`icon: Text[alt text] <url>`
:faslink:`icon: Text[alt text] <url>`
By kujiu, EUPL 1.2 licence.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sphinx_fasvg-2.0.2.tar.gz
(24.3 kB
view details)
Built Distribution
File details
Details for the file sphinx_fasvg-2.0.2.tar.gz
.
File metadata
- Download URL: sphinx_fasvg-2.0.2.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42d167d16e7a8407b4f7745a1013b1131237d5538af680ce1ee887170fc1b5fa |
|
MD5 | f94ceb79b32efae5587e905da75747ff |
|
BLAKE2b-256 | a298461d5cbde7cfc3b0c917a550b1fae0e5b3cd6bacd4eeef58e642e8ffb875 |
File details
Details for the file sphinx_fasvg-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: sphinx_fasvg-2.0.2-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2be709c5139f7a17112dc6a9252cb67a4da78809d6fcebb1e8136943a915bd71 |
|
MD5 | 81e110a2c3490923572210a071a6b0bb |
|
BLAKE2b-256 | bf00803a4b6186d9021bb5a0025d7c75eb1a1122ac0fdbe33eaee2b9cd1273e7 |