zerosonesfun / flarum-google-fonts
Various Google Fonts via BBCode.
Fund package maintenance!
Website
Installs: 169
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:flarum-extension
Requires
- flarum/core: ^0.1.0-beta.16 || ^1.0
README
Use most any Google Font thanks to Page CDN's "Easy Fonts" stylesheet. Reference: https://pagecdn.com/lib/easyfonts
The BBCode starts simply with f for font.
To use, after the opening tag's equals sign, enter the appropriate class name found on the reference page (link above), but leave off the beginning "font-." To save a little bit of typing time, the beginning "font-" part of the class name is added for you.
Example:
[f=beth-ellen]This will be a handwritten cursive font called Beth Ellen.[/f]
Install & Update
composer require zerosonesfun/flarum-google-fonts
php flarum cache:clear
Remove
composer remove zerosonesfun/flarum-google-fonts
(then, manually delete proper folder in your public assets folder)