#2760 emojis are good in markdown text but not on docs site
Opened 4 years ago by alick. Modified 4 years ago

Emojis look good in markdown text (rendered to HTML) but not on docs website. For example, :clapper: becomes🎬 etc.

Seems sphinx can actually support emojis. So what is the cause here?


Simply that the JS library we use for emoji isn't set up for the doc and that's in purpose. It's up to the projects to add emoji support in their sphinx doc if they wish to.

This doc page does have the correct emoji in the text file so there is something in the rendering :s

Shall we add emoji support to the pagure project docs? Is there some issue with rendering by the Web browser?

Shall we add emoji support to the pagure project docs? Is there some issue with rendering by the Web browser?

We actually have no control over what is in the docs repos, so we cannot (and
don't want to) inject any JS that would make emoji work.
It'll be up the individual projects to provide the necessary JS/CSS for
whichever libraries they want to use.

I'm confused. I'm talking about the 'pagure' project. Why the 'pagure' project has no control over its own docs page describing how pagure works? I'm not asking 'pagure' to inject JS to some random third-party project.

Well, it would still need us to import the corresponding JS and CSS files to make them render properly

What's the reason for not importing?

Login to comment on this ticket.

Metadata