w3f / polkadot-wiki

The source of truth for Polkadot.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Tooltip Functionality

CrackTheCode016 opened this issue · comments

The Wiki has a lot of nomenclature, which is shared across all articles. It would be helpful to implement tooltip functionality so that whatever definitions we have in the existing glossary are reflected in any relevant works in the wiki.

The easiest path is by using this: https://github.com/grnet/docusaurus-terminology

There are two primary options:

  1. The problem is using existing glossary definitions might require a migration, and we will get a lot of new files because each term requires its own markdown file, and then each term needs to be linked to that specific term file.

  2. The other option is to create a custom component and script to take the existing glossary, parse it, and render each word. This also could be quite involved.