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

Output file has no style #1

Open
austintraver opened this issue Mar 21, 2021 · 0 comments
Open

Output file has no style #1

austintraver opened this issue Mar 21, 2021 · 0 comments
Assignees

Comments

@austintraver
Copy link
Owner

Currently, the output of hype convert is not a full HTML file, it's simply the contents of the <body>. A consequence of this is that the output has no style.

A possible improvement would be hard-coding a stylesheet, but that seems too rigid for some use cases.

A better idea would be a flag/configuration that allows users to specify the URL of a CSS stylesheet file that should be embedded within the <head> of the HTML.

If the specified file is on the local filesystem, the contents should be hard-coded into the output. If, however, the argument provided is a URL, the contents should be included through use of a <link rel="stylesheet"> tag.

@austintraver austintraver self-assigned this Mar 21, 2021
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