-
Notifications
You must be signed in to change notification settings - Fork 6
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
Linkable headers #21
Comments
Yes, I think it should be offered by nimib. Ideally directly in the markdown rendering (and links should have the link icon appearing on hover as in GitHub). |
OK, great! 👍 Can open an issue later unless you beat me to it ;) On this topic, should Nimib have more of these basic building blocks built-in? For example
You mean directly in |
Nope, go ahead on open that! Not sure what you mean by the list. |
On my way! nbList(["First", "Second", "Third"])
# produces:
"""
- First
- Second
- Third
""" But idk if that's something you would want to have built-in to Nimib or if it should belong in a separate package
Interesting, didn't know that. :) |
Similarly to the cheatsheet example in Nimib I think making all the headers linkable is a good idea. That would make it easier to direct people asking questions to specific sections among other things. It would also allow us to have TOCs on every page like in the cheatsheet example if we wanted to. The current implementation needs some work though, optimally the headers themself (or a symbol in front/after of them) should be clickable so one easily can copy the link.
@pietroppeter Do you think this is functionality that (optionally) should be offered by Nimib/NimiBook itself or should we roll our own version here?
The text was updated successfully, but these errors were encountered: