realtimeprojects / mkdocs-ezglossary

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

Unable to use unicode symbols in glossary #12

Closed nfelt14 closed 5 months ago

nfelt14 commented 5 months ago

I have a glossary like this:

🚧
: Work in Progress

✅
: Implemented

❌
: Not Supported

IDE
: Integrated Development Environment

The symbols are not getting picked up and links are not getting created in the deflist.

This is the resulting html:

<dl>
<dt>🚧</dt>
<dd>Work in Progress</dd>
<dt>✅</dt>
<dd>Implemented</dd>
<dt>❌</dt>
<dd>Not Supported</dd>
<dt>
    <a id="__IDE_defs_0">IDE</a> 
</dt>
<dd>Integrated Development Environment</dd>
</dl>

These are my plugin settings:

  - ezglossary:
      tooltip: full
      strict: true
      use_default: true
      inline_refs: none
      markdown_links: true

Is there something else I need to do in order to get the glossary to recognize those symbols?

realtimeprojects commented 5 months ago

This is a little bit tricky.. this is currently not supported, but i am working on it :-)

nfelt14 commented 5 months ago

Thank you so much!

realtimeprojects commented 5 months ago

Good news: This issue is fixed in the 1.6.4 release.

Feel free to report back any further issues you find with unicode.

Note: Make sure you use markdown links for entries in the default section if the term is just a unicode character.

nfelt14 commented 5 months ago

Thank you so much! The unicode characters are working now.