Skip to content

Commit d8b2ea0

Browse files
committed
css flag, #62 and BASE_EMOJI_URL
1 parent 019939f commit d8b2ea0

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ to get ``IMGUR_CLIENT_ID`` and ``IMGUR_API_KEY``.
155155
MARTOR_SEARCH_USERS_URL = '/martor/search-user/' # default
156156

157157
# Markdown Extensions
158-
MARTOR_MARKDOWN_BASE_EMOJI_URL = 'https://assets-cdn.github.com/images/icons/emoji/' # default
158+
MARTOR_MARKDOWN_BASE_EMOJI_URL = 'https://www.webfx.com/tools/emoji-cheat-sheet/graphics/emojis/' # default
159159
MARTOR_MARKDOWN_BASE_MENTION_URL = 'https://python.web.id/author/' # default (change this)
160160

161161
Check this setting is not set else csrf will not be sent over ajax calls:

martor/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
22

3-
__VERSION__ = '1.3.8'
3+
__VERSION__ = '1.3.9'
44
__AUTHOR__ = 'Agus Makmun (Summon Agus)'
55
__AUTHOR_EMAIL__ = '[email protected]'

martor/extensions/emoji.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
>>> import markdown
99
>>> md = markdown.Markdown(extensions=['martor.utils.extensions.emoji'])
1010
>>> md.convert(':smile:')
11-
'<p><img class="marked-emoji" src="https://assets-cdn.github.com/images/icons/emoji/smile.png" /></p>'
11+
'<p><img class="marked-emoji" src="https://www.webfx.com/tools/emoji-cheat-sheet/graphics/emojis/smile.png" /></p>'
1212
>>>
1313
"""
1414

martor/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969

7070
# Markdown Extensions
7171
MARTOR_MARKDOWN_BASE_EMOJI_URL = getattr(
72-
settings, 'MARTOR_MARKDOWN_BASE_EMOJI_URL', 'https://assets-cdn.github.com/images/icons/emoji/'
72+
settings, 'MARTOR_MARKDOWN_BASE_EMOJI_URL', 'https://www.webfx.com/tools/emoji-cheat-sheet/graphics/emojis/'
7373
)
7474
# to use static and keep backward compatibility
7575
# set to true if using bucket like storage engine

martor/static/martor/css/martor.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

martor/static/martor/js/martor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* Name : Martor v1.3.8
2+
* Name : Martor v1.3.9
33
* Created by : Agus Makmun (Summon Agus)
4-
* Release date : 11-Feb-2019
4+
* Release date : 25-Feb-2019
55
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
66
* Repository : https://github.com/agusmakmun/django-markdown-editor
77
**/

martor/static/martor/js/martor.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)