Skip to content

add "nogloss" Liquid tag to prevent glossary popups from being rendered - #193

Merged
tgdwyer merged 2 commits into
tgdwyer:masterfrom
kayskayskays:nogloss
Oct 1, 2026
Merged

tgdwyer merged 2 commits into
tgdwyer:masterfrom
kayskayskays:nogloss

Conversation

@kayskayskays

Copy link
Copy Markdown
Contributor

I noticed in the haskell3 chapter, there were many usages of the word "alternative" in prose. These usages were erroneously causing glossary popups to be rendered - phrases like "here is an alternative".

This PR provides a means of fixing this. I added a new Liquid tag, which can be used in Markdown files to prevent glossary popups from being rendered when they otherwise would be.

For example, <% nogloss Parser %> would prevent the glossary popup being rendered for the "Parser" string.
I also went through the haskell3 chapter and added this tag in the relevant spots I found.

It'd be possible to do the same thing by just wrapping problematic usages in spans, but I thought this would be simpler for authoring.

@tgdwyer
tgdwyer merged commit 37dd3a7 into tgdwyer:master Oct 1, 2026
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

Successfully merging this pull request may close these issues.

2 participants