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

embedding font in strapdown git repo #86

Open
oupala opened this issue Feb 15, 2018 · 3 comments
Open

embedding font in strapdown git repo #86

oupala opened this issue Feb 15, 2018 · 3 comments

Comments

@oupala
Copy link

oupala commented Feb 15, 2018

Strapdownjs website mention that self-hosting requires to save all files contained in /v/<version_number>:

Self-hosting

For convenience the library is hosted at strapdownjs.com (as in the source above), but if you prefer to host it yourself make sure to save all files contained in /v/<version_number>, as the library dynamically loads all necessary stylesheets, etc.

But there is nonetheless one request going out of the self-hosting server: the font downloaded from Google APIs.

https://fonts.googleapis.com/css?family=Ubuntu

Could it be possible to embed all resources in the strapdownjs website so that the website can work everywhere, even on internal networks that do not have access to the internet?

And one more reason to do that is that get resources from anywhere on the internet can be prevented by strict content security policies (CSP).

@oupala oupala changed the title embedding font in embedding font in strapdown git repo Feb 15, 2018
@oupala
Copy link
Author

oupala commented Oct 8, 2018

Is this repo still alive? Is this project still maintained?

@jamiejackson
Copy link

Last I checked, this repo was dead. Do have a look at https://github.com/obedm503/bootmark .

@oupala
Copy link
Author

oupala commented Oct 9, 2018

Thanks a lot @jamiejackson for visiting this issue. And thanks also for making me doscover bootmark.

It is a bit more difficult than strapdown to use, as I find the document a bit worse. But in the end, it seems to work well, and it is maintained!

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

2 participants