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

Nested ressources inclusion #182

Open
MaximeWeyl opened this issue Oct 25, 2018 · 1 comment
Open

Nested ressources inclusion #182

MaximeWeyl opened this issue Oct 25, 2018 · 1 comment
Labels

Comments

@MaximeWeyl
Copy link
Contributor

Hi !

I figured out, by reading the source, why my presentation was not working :
I needed to include fonts within my presentation. I found in the source that css's url(..) is parsed by hovercraft, and the target is added to the build. But in my case, the url(..) was in a script that was imported using @import url(...);

The solution was simple : I stopped using @import and imported the css directly from my presentation.

I think the doc should mention the fact that files pointed by CSS's url(..) can be used if not nested. Or better : enhance hovercraft to include nested CSS's.

@regebro regebro added the bug label Oct 25, 2018
@regebro
Copy link
Owner

regebro commented Oct 29, 2018

The handling of urls I'm doing sucks as it is, and I don't want to spend time polishing turds, maybe we could switch to tinycss2 or cssutils or something that actually parses css.

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

No branches or pull requests

2 participants