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

request: download attribute for a tag #10

Open
Spacewalker2 opened this issue Jun 6, 2018 · 3 comments
Open

request: download attribute for a tag #10

Spacewalker2 opened this issue Jun 6, 2018 · 3 comments
Labels

Comments

@Spacewalker2
Copy link

Hello,

I use gocho a lot and to get things easier it would be cool if links would open direct a download dialog. This is possible by using the download attribute (https://stackoverflow.com/a/16316830).

It would be cool if I could disable the css file or define my own too.

@donkeysharp donkeysharp self-assigned this Jun 7, 2018
@donkeysharp
Copy link
Owner

hey @Spacewalker2 thanks for using gocho, since next week I'll have more time to do improvements and bugfixing, been busy these last months.
It's a nice request, for certain files its kind of cumbersome to get into the file when what I really want is to download it. I will give it a look

@donkeysharp
Copy link
Owner

It would be cool if I could disable the css file or define my own too.

Another question, what do you mean by disabling the css file?

@Spacewalker2
Copy link
Author

Spacewalker2 commented Jun 7, 2018

In the source I found <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css"> above the inline css and I thought maybe it would be cool to define here my own css file or simply disable it for avoiding an extra http get. Maybe there could be a further command line parameter to define the location of the custom css. The downside of this is that the icons are gone but there is a way to embed graphics direct in the html source code (https://www.base64-image.de) maybe this does the trick besides there is a use case for img tag and css urls attribute too.

@donkeysharp donkeysharp removed their assignment Jul 22, 2019
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