realtimeprojects / mkdocs-ezglossary

Glossary support for mkdocs
MIT License
8 stars 1 forks source link

Unable to reference a term in the default section !? :thinking: #4

Closed silopolis closed 10 months ago

silopolis commented 10 months ago

Re,

It most probably must be me, but I'm unable to reference a term defined in the default section:

The term is defined as

myterm
:   Myterm tests default glossary section

And referenced as:

Referencing <:myterm> <_:myterm> in default section.

Which renders as "<:myterm>" and "<_:myterm>"

Thanks in advance for your help

realtimeprojects commented 10 months ago

Thanks for your feedback.

On the first glance, this seems to be a bug, I try to address this ASAP.

realtimeprojects commented 10 months ago

This was in fact a bug since the suggested link syntax lead to some quoting issues.

So the link syntax has now changed slightly to either

<term:>

or

<default:term>

This is released now with version v1.5.6 and available on pypi.org