Skip to content

Commit

Permalink
Update to use latest Twemoji release (#2004)
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser authored Apr 5, 2023
1 parent 442011d commit c3580c5
Show file tree
Hide file tree
Showing 10 changed files with 4,673 additions and 3,604 deletions.
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/twemoji@14.1.2/assets/svg/'
TWEMOJI_PNG_CDN = 'https://cdn.jsdelivr.net/gh/jdecked/twemoji@14.1.2/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

0 comments on commit c3580c5

Please sign in to comment.