Skip to content

Feature request: Glossary #1697

@debruine

Description

@debruine

I'd like to suggest a first-class glossary in quarto, where you can link terms in the text to definitions (perhaps displayed on hover) and collect defined terms into an optional glossary table or section at the end of a chapter or the end of a book.

See this twitter thread for discussion about this with Thomas Mock and the psyTeachR glossary package for a model of what I'm thinking about, implemented in R.

Some ideas

It could require defining terms somehow in the text each time, like:

{{< gls [term](This is my definition.) >}}

Or there could be a glossary file similar to _variable.yml that you can use to link terms to:

{{< gls [text-term](file-term) >}}

This letter option might be better, as you often want to link the same term several times, or link different forms (e.g., the definition might be for "argument", but your sentence is "There are several arguments you need to set.").

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions