Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML Entities #34

Open
gerwitz opened this issue Jul 25, 2022 · 0 comments
Open

HTML Entities #34

gerwitz opened this issue Jul 25, 2022 · 0 comments

Comments

@gerwitz
Copy link
Owner

gerwitz commented Jul 25, 2022

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: cmints/cmints#109 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant