Skip to content

Commit

Permalink
fix: ordered and unordered list items #231
Browse files Browse the repository at this point in the history
  • Loading branch information
Agus Makmun committed Mar 29, 2024
1 parent 30fa257 commit ad2fe8f
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 18 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ MARTOR_MARKDOWN_EXTENSIONS = [
'markdown.extensions.nl2br',
'markdown.extensions.smarty',
'markdown.extensions.fenced_code',
'markdown.extensions.sane_lists',

# Custom markdown extensions.
'martor.extensions.urlize',
Expand Down
4 changes: 2 additions & 2 deletions martor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

__VERSION__ = "1.6.39"
__RELEASE_DATE__ = "24-Mar-2024"
__VERSION__ = "1.6.40"
__RELEASE_DATE__ = "29-Mar-2024"
__AUTHOR__ = "Agus Makmun (Summon Agus)"
__AUTHOR_EMAIL__ = "summon.agus@gmail.com"
7 changes: 5 additions & 2 deletions martor/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"markdown.extensions.nl2br",
"markdown.extensions.smarty",
"markdown.extensions.fenced_code",
"markdown.extensions.sane_lists",
# Custom markdown extensions.
"martor.extensions.urlize",
"martor.extensions.del_ins", # ~~strikethrough~~ and ++underscores++
Expand All @@ -90,13 +91,15 @@
# Markdown urls
MARTOR_UPLOAD_URL = (
# Allows to disable this endpoint
settings.MARTOR_UPLOAD_URL if hasattr(settings, "MARTOR_UPLOAD_URL")
settings.MARTOR_UPLOAD_URL
if hasattr(settings, "MARTOR_UPLOAD_URL")
else "/martor/uploader/"
)

MARTOR_SEARCH_USERS_URL = (
# Allows to disable this endpoint
settings.MARTOR_SEARCH_USERS_URL if hasattr(settings, "MARTOR_SEARCH_USERS_URL")
settings.MARTOR_SEARCH_USERS_URL
if hasattr(settings, "MARTOR_SEARCH_USERS_URL")
else "/martor/search-user/"
)

Expand Down
4 changes: 2 additions & 2 deletions martor/static/martor/css/martor-admin.min.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Name : Martor v1.6.39
* Name : Martor v1.6.40
* Created by : Agus Makmun (Summon Agus)
* Release date : 24-Mar-2024
* Release date : 29-Mar-2024
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
* Repository : https://github.com/agusmakmun/django-markdown-editor
**/
Expand Down
4 changes: 2 additions & 2 deletions martor/static/martor/css/martor.bootstrap.min.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Name : Martor v1.6.39
* Name : Martor v1.6.40
* Created by : Agus Makmun (Summon Agus)
* Release date : 24-Mar-2024
* Release date : 29-Mar-2024
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
* Repository : https://github.com/agusmakmun/django-markdown-editor
**/
Expand Down
4 changes: 2 additions & 2 deletions martor/static/martor/css/martor.semantic.min.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Name : Martor v1.6.39
* Name : Martor v1.6.40
* Created by : Agus Makmun (Summon Agus)
* Release date : 24-Mar-2024
* Release date : 29-Mar-2024
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
* Repository : https://github.com/agusmakmun/django-markdown-editor
**/
Expand Down
4 changes: 2 additions & 2 deletions martor/static/martor/js/martor.bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Name : Martor v1.6.39
* Name : Martor v1.6.40
* Created by : Agus Makmun (Summon Agus)
* Release date : 24-Mar-2024
* Release date : 29-Mar-2024
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
* Repository : https://github.com/agusmakmun/django-markdown-editor
**/
Expand Down
4 changes: 2 additions & 2 deletions martor/static/martor/js/martor.bootstrap.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions martor/static/martor/js/martor.semantic.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Name : Martor v1.6.39
* Name : Martor v1.6.40
* Created by : Agus Makmun (Summon Agus)
* Release date : 24-Mar-2024
* Release date : 29-Mar-2024
* License : GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
* Repository : https://github.com/agusmakmun/django-markdown-editor
**/
Expand Down
4 changes: 2 additions & 2 deletions martor/static/martor/js/martor.semantic.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ad2fe8f

Please sign in to comment.