django-markdownx/markdownx
Aymeric Augustin 7b012db5a5 Make it possible to customize image insertion code. (#20)
* Make it possible to customize image insertion code.

It can be useful to insert more that just a markdown image tag, for
example to provide additional control on the layout of images. Since
there's no convenient way to handle this on the JavaScript side, we
generate the code to insert in Python. Then it can be overridden with
the existing extensibility mechanism, that is, with a custom view.

* Restore backwards-compatibility.

The previous commit is backwards-incompatible for users who pointed
MARKDOWNX_UPLOAD_URLS_PATH to a custom view. This commit restores
backwards-compatibility with the previous API.
2016-05-14 11:58:43 +02:00
..
locale Works for 1.0 version 2015-09-06 20:46:46 +02:00
static/markdownx Make it possible to customize image insertion code. (#20) 2016-05-14 11:58:43 +02:00
templates/markdownx Works for 1.0 version 2015-09-06 20:46:46 +02:00
tests travis 2015-09-30 12:51:07 +02:00
__init__.py Init 2014-11-01 22:02:31 +01:00
admin.py Works for 1.0 version 2015-09-06 20:46:46 +02:00
fields.py Fix #16 - support for subclasses of MarkdownxWidget in the MarkdownxFormField 2016-02-12 09:39:20 +01:00
forms.py Fix accessing file length in python3 2015-10-19 18:44:58 +04:00
models.py Works for 1.0 version 2015-09-06 20:46:46 +02:00
settings.py Description fix 2016-02-12 14:18:11 +01:00
urls.py v0.2.9 2014-11-12 16:04:21 +01:00
utils.py [Closes #15] Make rendering the markdown abstractable 2016-02-12 14:01:59 +01:00
views.py Make it possible to customize image insertion code. (#20) 2016-05-14 11:58:43 +02:00
widgets.py Fixes issue #12: Ability to change the url of imageupload in settings 2015-12-01 00:59:43 +01:00