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

feat: support loading params from URL #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

derlin
Copy link
Owner

@derlin derlin commented Sep 15, 2024

Make it possible to set parameters from the URL hash. Thus, navigating to '/#profile=github' will automatically load the github profile.

Note that the URL is updated upon generate only, not each time an option changes. Also, upon load, the options are taken from the local storage first, then overridden by parameters in the URL hash.

See #59

Make it possible to set parameters from the URL hash.
Thus, navigating to '<bitdowntoc-url>/#profile=github' will
automatically load the github profile.

Note that the URL is updated upon generate only, not each time an option
changes. Also, upon load, the options are taken from the local storage
first, then overridden by parameters in the URL hash.
@derlin derlin added the enhancement New feature or request label Sep 15, 2024
@derlin derlin self-assigned this Sep 15, 2024
@0xdevalias
Copy link
Contributor

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

Successfully merging this pull request may close these issues.

2 participants