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

Support navigation to individual items in Definition List #2495

Closed
4 tasks done
jasper-zanjani opened this issue Mar 26, 2021 · 2 comments
Closed
4 tasks done

Support navigation to individual items in Definition List #2495

jasper-zanjani opened this issue Mar 26, 2021 · 2 comments

Comments

@jasper-zanjani
Copy link

jasper-zanjani commented Mar 26, 2021

I want to suggest an idea and checked that ...

  • ... to my best knowledge, my idea wouldn't break something for other users
  • ... the documentation does not mention anything about my idea
  • ... there are no open or closed issues that are related to my idea

Description

In a knowledge base with many terms, using the Definition list extension as-is requires use of text search or simply scrolling. This is because there is no way to easily navigate to a specific Definition List item. If an id attribute were generated as it is for headings, users would be able to create links to the specific item in the body of the page.

Use Cases

Any robust knowledge base that uses the Definition List for anything more than a handful of items would benefit, since the end-user would be able to use links to support navigation to individual items.

Screenshots / Mockups

@jasper-zanjani
Copy link
Author

In case this feature would be better supported in the extension itself, I posted another issue there as well.

@squidfunk
Copy link
Owner

Thanks for suggesting. Unfortunately, we can't do anything about it as part of this project, since we only get the Markdown as rendered HTML. However, as pointed out in Python-Markdown/markdown#1123 (comment), it's already possible to achieve it with some manual work and the Attribute List extension 😊

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