Replies: 2 comments 7 replies
-
We use remark-emoji by default: https://github.com/rhysd/remark-emoji Docusaurus doesn't permit to disable this lib, and from what I see, the library doesn't give you ability to replace only a subset of emojis (it's all or nothing) Fortunately, you should be able to keep your original text by using a JSX expression instead of Markdown text. Remark-emoji only operates on text nodes to replace emojis in the AST. |
Beta Was this translation helpful? Give feedback.
-
I mean a small patch in
and a bit more code in the docs, blog and pages content plugins to set Would this be acceptable? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following MDX code:
It is rendered as:
In this context, replacing the
:flags:
sequence with an icon is definitely not correct.I searched for 'emoji' in the documentation, but did not find anything relevant.
Is there a way to disable this behaviour?
Beta Was this translation helpful? Give feedback.
All reactions