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

Update to use latest Twemoji release #2004

Merged
merged 1 commit into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/src/markdown/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## 9.11

- **NEW**: Emoji: Update to just new CDN.
- **NEW**: Emoji: Update to use Twemoji 14.1.2.
- **NEW**: Snippets: Ignore nested snippet section syntax when including a section.

## 9.10
Expand Down
4 changes: 2 additions & 2 deletions docs/src/markdown/extensions/emoji.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ toolkit repo @JoyPixels/emoji-toolkit.
///

/// tab | Twemoji
[Twemoji][twemoji] (<img align="absmiddle" alt=":smile:" class="twemoji" src="https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f604.png" title=":smile:" /> <img align="absmiddle" alt=":heart:" class="twemoji" src="https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/2764.png" title=":heart:" /> <img align="absmiddle" alt=":thumbsup:" class="twemoji" src="https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/1f44d.png" title=":thumbsup:" />):
[Twemoji][twemoji] (<img align="absmiddle" alt=":smile:" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@14.1.2/assets/72x72/1f604.png" title=":smile:" /> <img align="absmiddle" alt=":heart:" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@14.1.2/assets/72x72/2764.png" title=":heart:" /> <img align="absmiddle" alt=":thumbsup:" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/twemoji@14.1.2/assets/72x72/1f44d.png" title=":thumbsup:" />):
Twemoji is Twitter's open source emoji set which also covers a great many emoji with skin tones and gender modifiers.
The hosted CDN provides 72x72 PNG emoji or SVG emoji.

Expand Down Expand Up @@ -73,7 +73,7 @@ ensure proper usage and attributions.
////

//// tab | Twemoji
- https://github.com/twitter/twemoji/blob/gh-pages/LICENSE-GRAPHICS
- https://github.com/jdecked/twemoji/blob/main/LICENSE-GRAPHICS
////

//// tab | Gemoji
Expand Down
2 changes: 1 addition & 1 deletion pymdownx/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,5 @@ def parse_version(ver, pre=False):
return Version(major, minor, micro, release, pre, post, dev)


__version_info__ = Version(9, 10, 0, "final")
__version_info__ = Version(9, 11, 0, "final")
__version__ = __version_info__._get_canonical()
5 changes: 3 additions & 2 deletions pymdownx/emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
UNICODE_VARIATION_SELECTOR_16 = 'fe0f'
EMOJIONE_SVG_CDN = 'https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/svg/'
EMOJIONE_PNG_CDN = 'https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/png/'
TWEMOJI_SVG_CDN = 'https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/svg/'
TWEMOJI_PNG_CDN = 'https://cdnjs.cloudflare.com/ajax/libs/twemoji/14.0.2/72x72/'

TWEMOJI_SVG_CDN = 'https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/'
TWEMOJI_PNG_CDN = 'https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/72x72/'
GITHUB_UNICODE_CDN = 'https://github.githubassets.com/images/icons/emoji/unicode/'
GITHUB_CDN = 'https://github.githubassets.com/images/icons/emoji/'
NO_TITLE = 'none'
Expand Down
Loading