Closed hug-sch closed 9 months ago
which version are you using ?
I aimed to fix this exact version with https://github.com/tobiasah/mkdocs-caption/commit/3c0fa5370fb90a6dd442c4717077b9e8417c7958
version 1.0.0 should contain this fix
I used mkdocs-caption == 0.0.10 but changed the requirements now to 1.0.0. The bug still remains. Should I do something else?
uh that is odd.
I just tired again with the demo I have in this repo (https://github.com/tobiasah/mkdocs-caption/tree/main/demo) and there the emoji is ignored by the caption plugin
can you check the class that your material theme uses for its emojis? for me, this is class="twemoji"
which is actively ignored in by the caption plugin config ... if you have another class you can add It to the config (https://tobiasah.github.io/mkdocs-caption/config/) to the ignore_classes
list.
Yes, I saw that. Here is my mkdocs.yml
Looks the same as yours :-)
Sorry. Just checked the version and is still mkdocs-caption==0.0.10. Thought that adding it to requirements.txt will also install it.
Yes. It's OK now. Thanks for quick reply.
👍 glad its resolved.
When adding support with Icons, Emojis; see [mkdocs-material] (https://github.com/squidfunk/mkdocs-material/blob/master/docs/reference/icons-emojis.md)) the shortcut to add an emoji to markdown is for example
:smile:
This becomes after rendering:
I assume that the "Figure 9" text and the center alignment is added by the mkdocs-caption plugin.