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

Add Twemojis for a good cause #56

Closed
igorwastaken opened this issue Sep 5, 2021 · 16 comments
Closed

Add Twemojis for a good cause #56

igorwastaken opened this issue Sep 5, 2021 · 16 comments

Comments

@igorwastaken
Copy link

Just for a good cause, but... I think it's beautiful 😂.

html:

<script src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js" crossorigin="anonymous"></script>

js:

twemoji.parse(document.body)

css:

/*Blablabla*/
img.emoji {
width: 1em;
}

I hope this is a good thing... eh... Here I go!

@ExtremeDevelopments
Copy link
Contributor

Could you show examples instead of just how to implement it?

@igorwastaken
Copy link
Author

Could you show examples instead of just how to implement it?
If you leave it the way I did, it will be like this
Screenshot_20210905-133617_Chrome

@ExtremeDevelopments
Copy link
Contributor

I don't see a point of this for Documentation, where can this be used and why should it be?

@igorwastaken
Copy link
Author

It is an enchantment that could be added on the website only.

@ExtremeDevelopments
Copy link
Contributor

Where at on the site is it needed and why though

@ExtremeDevelopments
Copy link
Contributor

What's the point of adding it?

@igorwastaken
Copy link
Author

The documentation could have this as an element to make the site cool, see what point I want to get to?

@ExtremeDevelopments
Copy link
Contributor

No, I don't. It's documentation, it isn't really needed at all.

@ExtremeDevelopments
Copy link
Contributor

And what is your example showing exactly?

@igorwastaken
Copy link
Author

I don't have an example 🤦

@igorwastaken
Copy link
Author

🤦 let's drop this subject, it's hard to explain how far I'll go. Sorry the issue was weird.

@Esmeray6
Copy link
Contributor

Esmeray6 commented Sep 6, 2021

This could find a use in bot/server pages, I believe.

@ExtremeDevelopments
Copy link
Contributor

If you were allowed to use script tags, yes. But you can't

@Luke-6723
Copy link
Contributor

If they we're pre-parsed or you had the option to pre-parse the body for twemoji that or just replace site-side emojis with twemoji, they're much better than some of the default PC fonts since some fonts on some machines dont even have emojis

@ExtremeDevelopments
Copy link
Contributor

If pre-parsed yes it could be useful actually. May be a suggestion that should be put on the main org repo though not docs

@Luke-6723
Copy link
Contributor

I agree.

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

4 participants