Open gerwitz opened 2 years ago
I just want to show the tree glyph, not the emoji.
This requires using a Unicode variant. But I think this doesn't work because markdown-it is translating HTML entities into characters instead of passing them through.
Disabling the entity rule doesn't work, because then the ampersands get escaped.
There's a plugin but another dependency seems like overkill.
Brute force replacement might work: https://github.com/cmints/cmints/issues/109#issuecomment-427478413
I just want to show the tree glyph, not the emoji.
This requires using a Unicode variant. But I think this doesn't work because markdown-it is translating HTML entities into characters instead of passing them through.
Disabling the entity rule doesn't work, because then the ampersands get escaped.
There's a plugin but another dependency seems like overkill.
Brute force replacement might work: https://github.com/cmints/cmints/issues/109#issuecomment-427478413