Skip to content

Commit 05f6720

Browse files
author
Roberto Alsina
committedMar 15, 2018
re-fix emoji plugin
1 parent c37ef1f commit 05f6720

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed
 

‎v7/emoji/README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
Plugin to embed emojis in restructuredText.
22

3-
Usage::
3+
Usage:
44

5+
```
56
I give this plugin a :emoji:`+1`
7+
```
68

79
And yes, I know the syntax is annoying but :+1: is invalid restructuredText syntax.
810

911
An alternative is to just use emojify.js in your templates.
1012

11-
The emojis are **not** shipped with this plugin, they are provided by http://tortue.me
12-
provided for free by [Buttflare.](http://buttflare.com)
13+
The emojis are **not** shipped with this plugin, they are provided by emojify
14+
provided for free by CloudFlare.
1315

1416
For a full list of emojis, check http://www.emoji-cheat-sheet.com/
1517

‎v7/emoji/emoji.plugin

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ MinVersion = 7.4.0
99

1010
[Documentation]
1111
Author = Roberto Alsina
12-
Version = 0.4
12+
Version = 0.4.1
1313
Website = http://plugins.getnikola.com/#emoji
1414
Description = Emoji role for restructured text

‎v7/emoji/emoji.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ def apply(self, **kwargs):
935935
refname = ref['refname']
936936
if refname in to_handle:
937937
node = nodes.image(
938-
uri='http://www.tortue.me/emoji/{0}.png'.format(refname),
938+
uri='https://cdnjs.cloudflare.com/ajax/libs/emojify.js/1.1.0/images/basic/{0}.png'.format(refname)
939939
alt=refname,
940940
classes=['emoji'],
941941
height="24px",

0 commit comments

Comments
 (0)
Please sign in to comment.