Skip to content

lack of keyword/ phrases highlighter through JavaScript instead of html class #2

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

Open
ABagram opened this issue Dec 23, 2024 · 0 comments

Comments

@ABagram
Copy link
Owner

ABagram commented Dec 23, 2024

Ideally, this is implemented by setting an array containing the phrases to be highlighted. In the case of this article, all words/ phrases pertaining to materials are to share the same text color; however, this formatting should not apply to materials inside the alerts.

Goal: Reduce the length of index.html
Optional: Add a toggle option that allows viewers to disable the materials highlighter.

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

1 participant