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

Demo page customization #25

Open
naugtur opened this issue May 12, 2023 · 1 comment
Open

Demo page customization #25

naugtur opened this issue May 12, 2023 · 1 comment

Comments

@naugtur
Copy link

naugtur commented May 12, 2023

Hi. Awesome job - I used to have to do all that work manually. I haven't been so excited to find a new package like this in months! :)

Have you considered making the demo page customizable? For the sake of simplicity, a key in package.json would be enough.
Being able to provide a name for the bookmarklet to show instead of 'Bookmarklet; would be a great start.
Pointing to a HTML page template would be even better.

I could help out with that.

@PhilippeVay
Copy link

Being able to provide a name for the bookmarklet to show instead of 'Bookmarklet; would be a great start.

You can provide a (kind of UserScript) header to your source:

// ==Bookmarklet==
// @name O HAI
// @author Your name
// @repo Some URL
// ==/Bookmarklet==

and bookmarklet.js will generate the demo with the name as heading and text link and add a link to the repo.
2nd paragraph of the README explains all of it... and yes I missed that too for wayyy too long

It doesn't customize any further the demo page like the low contrast of the link but at least one can provide to users a default name to its bookmarklet.

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