Skip to content

Commit

Permalink
Replace MaxCDN, which has shut down (#1904)
Browse files Browse the repository at this point in the history
* Replace MaxCDN.

* Update expected HTML w/pygments installed.
  • Loading branch information
samdobson authored Jan 10, 2023
1 parent 60cba05 commit d66c4b4
Show file tree
Hide file tree
Showing 5 changed files with 3,586 additions and 3,586 deletions.
2 changes: 1 addition & 1 deletion docs/src/markdown/extensions/emoji.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Emoji chooses to focus on three specific emoji sets:
toolkit repo @JoyPixels/emoji-toolkit.

=== "Twemoji"
[Twemoji][twemoji] (<img align="absmiddle" alt=":smile:" class="twemoji" src="https://twemoji.maxcdn.com/v/latest/72x72/1f604.png" title=":smile:" /> <img align="absmiddle" alt=":heart:" class="twemoji" src="https://twemoji.maxcdn.com/v/latest/72x72/2764.png" title=":heart:" /> <img align="absmiddle" alt=":thumbsup:" class="twemoji" src="https://twemoji.maxcdn.com/v/latest/72x72/1f44d.png" title=":thumbsup:" />):
[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://twemoji.maxcdn.com/v/latest/72x72/2764.png" title=":heart:" /> <img align="absmiddle" alt=":thumbsup:" class="twemoji" src="https://twemoji.maxcdn.com/v/latest/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
4 changes: 2 additions & 2 deletions pymdownx/emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
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://twemoji.maxcdn.com/v/latest/svg/'
TWEMOJI_PNG_CDN = 'https://twemoji.maxcdn.com/v/latest/72x72/'
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/'
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 d66c4b4

Please sign in to comment.