Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weaved documents contain references to missing fonts #40

Open
rpendleton opened this issue Dec 14, 2018 · 0 comments
Open

Weaved documents contain references to missing fonts #40

rpendleton opened this issue Dec 14, 2018 · 0 comments

Comments

@rpendleton
Copy link

When opening a weaved document with the console open, you can observe that the browser attempts to load a font for KaTeX. The weaver seems to be using relative URL's for these fonts, but they aren't anywhere to be found in this repository.

These references should be changed to use the fonts hosted by Cloudflare at https://cdnjs.com/libraries/KaTeX. With that being said, I'm wondering if that's actually the correct solution. The KaTeX CSS loaded from Cloudflare also includes some references to fonts, and there's some overlap between that CSS and the one embedded directly in weaved documents, so perhaps some of this CSS can simply be deleted? (And perhaps the same is true for the scripts?)

I'll likely look into this when I have more time, but figured I would point it out in case someone already knows more about why there's duplication between the embedded and external CSS/JS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant