Global Google font support | World Anvil

Remove these ads. Join the Worldbuilders Guild

Global Google font support

New Feature Addition · Generic · Created by Tillerz
completed
fonts

What functionality is missing? What is unsatisfying with the current situation?

  Right now everyone has to add tons of blocks for fonts that are used in the articles. Some of those includes often cause error ans repeatedly the same questions in the css support channel on discord.  

How does this feature request address the current situation?

  There is a simple solution for this. Add a small (54 lines) global to WA that automatically detects and loads any font usage. The code is free and to be found here: https://exportkit.com/plugin/environments/html5/add-google-fonts-to-html5   Everything the user needs to do now in their css (example):  
body, p, div { font-family:Acme; } h1, h2, h3, h4, h5 { font-family:Erica One; }
  The script will automatically look up the font name and fetch it from fonts.google.com.   The import statements are not required anymore.
Current score

30/300 Votes · +3600 points

Votes Cast