Skip to content

Commit ca2b640

Browse files
committed
update core & fixed #58
1 parent 28b9478 commit ca2b640

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4099
-747
lines changed

README.rst

Lines changed: 2 additions & 2 deletions

martor/__init__.py

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

3-
__VERSION__ = '1.3.5'
3+
__VERSION__ = '1.3.6'
44
__AUTHOR__ = 'Agus Makmun (Summon Agus)'
5-
__AUTHOR_EMAIL__ = 'agus@python.web.id'
5+
__AUTHOR_EMAIL__ = 'summon.agus@gmail.com'

martor/extensions/del_ins.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ class DelInsExtension(markdown.extensions.Extension):
3939
"""Adds del_ins extension to Markdown class."""
4040

4141
def extendMarkdown(self, md, md_globals):
42-
"""Modifies inline patterns."""
43-
md.inlinePatterns.add('del', SimpleTagPattern(DEL_RE, 'del'), '<not_strong')
44-
md.inlinePatterns.add('ins', SimpleTagPattern(INS_RE, 'ins'), '<not_strong')
42+
del_tag = SimpleTagPattern(DEL_RE, 'del')
43+
ins_tag = SimpleTagPattern(DEL_RE, 'ins')
44+
md.inlinePatterns.add('del', del_tag, '>not_strong')
45+
md.inlinePatterns.add('ins', ins_tag, '>not_strong')
4546

4647

47-
def makeExtension(configs={}):
48-
return DelInsExtension(configs=dict(configs))
48+
def makeExtension(*args, **kwargs):
49+
return DelInsExtension(*args, **kwargs)
4950

5051

5152
if __name__ == "__main__":

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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* Name : Martor v1.3.5
2+
* Name : Martor v1.3.6
33
* Created by : Agus Makmun (Summon Agus)
4-
* Release date : 03-Nov-2018
4+
* Release date : 09-Feb-2019
55
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
66
* Repository : https://github.com/agusmakmun/django-markdown-editor
77
**/
@@ -49,6 +49,7 @@
4949
editor.$blockScrolling = Infinity; // prevents ace from logging annoying warnings
5050
editor.renderer.setScrollMargin(10, 10); // set padding
5151
editor.setAutoScrollEditorIntoView(true);
52+
editor.setShowPrintMargin(false);
5253
editor.setOptions({
5354
enableBasicAutocompletion: true,
5455
enableSnippets: true,

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

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

martor/static/plugins/css/semantic.min.css

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

martor/static/plugins/fonts/brand-icons.svg

Lines changed: 1008 additions & 0 deletions
96.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)