# -*- coding: utf-8 -*-
#
# Copyright © 2014 Max Arnold.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


@@ -1110,8 +1110,374 @@
 TWARE.%0A%0A
+from __future__ import print_function, unicode_literals%0A%0Afrom markdown.extensions import Extension%0Afrom markdown.inlinepatterns import Pattern%0A%0ATWEETABLE_RE = r'%5C%5Btweetable%5C%5D(?P%3Cquote%3E.+)%5C%5B/tweetable%5C%5D'%0A%0ANETWORKS = ('google', 'facebook', 'twitter', 'vkontakte',)%0A%0ASNIPPET = '''%3Cblockquote class=%22tweetable%22%3E%0A%3Cp%3E%7Bquote%7D%3C/p%3E%0A%3Cfooter%3E%7Bfooter%7D%3C/footer%3E%0A%3C/blockquote%3E'''%0A

add imports and constants