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

Adding additional CSS to the content #2

Open
Webcompose opened this issue Jun 20, 2020 · 1 comment
Open

Adding additional CSS to the content #2

Webcompose opened this issue Jun 20, 2020 · 1 comment

Comments

@Webcompose
Copy link

I am thinking this is great and that if I could add one more feature it would be to add specific CSS to the output. One way to accomplish that would be to add a css file in the same upload but would recognize the file ending to become an added stylesheet. Or perhaps there's a way to include all css files in a style directory.

@Ashkanph
Copy link
Owner

Ashkanph commented Jun 21, 2020

Since the output is a simple html page, you can add your desired css as an internal css in the head tag (with the <style> /*your css goes here*/ </style>); Actually the needed css of the page has been added to the head and you must add yours after that.

Or you can add the link to it in the head like <link rel="stylesheet" href="./style/my-styles.css">. And you must add it after the internal css in the head.

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