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

Allow filtering symbols by math class in the General Symbols page #579

Open
MDLC01 opened this issue Mar 10, 2025 · 0 comments
Open

Allow filtering symbols by math class in the General Symbols page #579

MDLC01 opened this issue Mar 10, 2025 · 0 comments
Labels
feature request New feature or request.

Comments

@MDLC01
Copy link

MDLC01 commented Mar 10, 2025

Description

In the General Symbol documentation page, allow filtering symbols by math class.

Currently, this can be achieved by adding the following CSS rule to the page, (where <class> is replaced by the class). Of course, this is less than user friendly.

.symbol-grid li:not([data-math-class="<class>" i]) {
  display: none !important;
}

Use Case

Finding symbols more easily when you don't know what you are looking for exactly, but want, e.g., a new notation for a relation. For example, this may be useful by the kind of person who defines many relation, such as in typst/typst#6028.

@MDLC01 MDLC01 added the feature request New feature or request. label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant