Skip to content

Commit

Permalink
Upgrade to 4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Nov 27, 2017
1 parent 03cff10 commit 28ecbc0
Show file tree
Hide file tree
Showing 4 changed files with 472 additions and 241 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: 4.3.0
Current version: 4.5.0
2 changes: 1 addition & 1 deletion st3/pymdownx/__version__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Version."""

# (major, minor, micro, release type, pre-release build, post-release build)
version_info = (4, 3, 0, 'final', 0, 0)
version_info = (4, 5, 0, 'final', 0, 0)


def _version():
Expand Down
10 changes: 10 additions & 0 deletions st3/pymdownx/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
from __future__ import unicode_literals
from markdown import Extension
from . import emoji
from .util import PymdownxDeprecationWarning
import warnings

extensions = [
'markdown.extensions.tables',
Expand Down Expand Up @@ -70,6 +72,14 @@ def __init__(self, *args, **kwargs):
def extendMarkdown(self, md, md_globals):
"""Register extension instances."""

warnings.warn(
"'GitHub' extension is deprecated, and it is encouraged to manually\n"
"configure your own GitHub mode by inlcuding and configuring\n"
"the necessary extensions. See documentation for details.\n"
"The 'GitHub' extension will be removed in the future.",
PymdownxDeprecationWarning
)

md.registerExtensions(extensions, self.extension_configs)


Expand Down
Loading

0 comments on commit 28ecbc0

Please sign in to comment.