Skip to content

Singular and plural mapping to the same term in glossary #738

Answered by choldgraf
Zethson asked this question in General
Discussion options

You must be logged in to vote

You should be able to provide multiple entries for a glossary definition. For example, see the Jupyter Book glossary. Entries for MyST and MyST Markdown. You can do this by putting the two terms on top of one another, e.g.:

MyST
MyST Markdown
MySTs
    My definition.

One awkward thing about this is you'll have multiple terms listed even though some might just be the plural version of another.
Here are a few ways to get around the issue of having multiple terms just because you're using a plural:

Use CSS to hide subsequent terms.

The following example defines a CSS rule that will hide any term that comes immediately after a previous term.

<style>

/* Do not display any glossary terms that …

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@Zethson
Comment options

@Zethson
Comment options

@Zethson
Comment options

@choldgraf
Comment options

@Zethson
Comment options

Answer selected by Zethson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants