BootstrapIcons
BootstrapIcons font for PmWiki.
Installation
This extension requires ExtensionHub.
Place BootstrapIcons-2024-05-16.zip in the pmwiki/extensions
directory on your server. Optionally you can unzip it.
Alternatively, you can clone the Git repo into pmwiki/extensions
with such a command line: git clone --depth=1 https://github.com/5ko/BootstrapIcons.git
Configuration
To enable the extension, navigate to SiteAdmin.ExtensionHub, locate the "BootstrapIcons" row and press "Edit". On the new page, check the checkbox "Enable configuration" and near the bottom press "Save".
Usage
In a wiki page, type ~bi-ICON-NAME
to insert an icon:
~bi-house ~bi-lock ~bi-bag-check ~bi-briefcase |
|
To show a list with all icons, use the directive:
(:biconlist:) |
|
This allows you to find and copy icons (click on an icon label to copy it to your clipboard).
To list a subset of the icons, use a name=patterns
attribute:
(:biconlist name=*sun*,*moon*:) |
|
Notes
The search field in the listings is from Filterable.
Change log / Release notes
- 2024-05-16: Only inject CSS when there is markup requiring it.
- 2024-02-21: CSS remove justify-content (better layout of last line).
- 2024-02-20: Update PageVariable names for hub actions.
- 2024-02-19: First public release, ready to be tested.
See also
- Cookbook /
- FontAwesome Include and use Font Awesome Icons (beta)
Contributors
PmWiki extension written and maintained by Petko. Bootstrap icon font by The Bootstrap Authors.
Comments
See discussion at BootstrapIcons-Talk?
User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.