Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Give each question a ID to allow linking to specific questions. #114

Closed
JadedBlueEyes opened this issue Oct 3, 2018 · 3 comments
Closed
Labels
enhancement New feature or request website

Comments

@JadedBlueEyes
Copy link

what it says in the title! this has already been implemented in 30 seconds of css, and would be extremely useful, for example to link a friend to a specific question without them having to find it manually.

@skatcat31
Copy link
Contributor

The readme does have these, however the generated site does not. It might not be to hard to implement, however the question becomes "what is a unique id we can use" since questions are long, and snippet names are kind of long too. Still a great suggestion.

It looks like it can be put into the build script pretty easily and just based on the snippet name. Then we just merely need to add an anchor to the beginning of each snippet box, and a link that can easily be copied to the header question.

This implementation will cause breaks in links if the snippet file name changes, but that shouldn't be happening anyways.

This should be easy enough. Thanks for the suggestion!

@skatcat31 skatcat31 added enhancement New feature or request website labels Oct 3, 2018
@fejes713
Copy link
Collaborator

fejes713 commented Oct 8, 2018

@derpmarine168 thanks for letting us know about this feature. I'll see to implement this over the weekend 👍

@fejes713
Copy link
Collaborator

@derpmarine168 took me much more than a weekend to find time to add one line of code. This is solved now in #129 and should be live very soon. Thanks for recommending this! 👍

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

No branches or pull requests

3 participants