You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good observation. The default stylesheet is written with the assumption that those fonts will be loaded as web fonts. (See https://github.com/asciidoctor/asciidoctor-browser-extension/blob/main/app/css/themes/asciidoctor.css). And that's precisely what Asciidoctor's HTML converter does. As I understand it, however, a browser extension cannot load fonts directly from the web (or it can but we don't want it to?). If that's the case, then they should probably be bundled so that they can be loaded locally...at least by the default stylesheet.
a browser extension cannot load fonts directly from the web (or it can but we don't want it to?
CSP policies, Google Chrome won't load Google Fonts because it's unsafe 🥲
My hope was that it will eventually be added in a allow-list but I guess we will need to bundle fonts.
The
asciidoctor.css
of the default theme useswhich renders in Times New Roman on systems that don't have Noto installed. Does it make sense to bundle up the fonts used in the themes?
The text was updated successfully, but these errors were encountered: