django-markdownx/markdownx/static/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
..
admin/css Cleanup 2015-10-06 08:23:03 +02:00
js Make it possible to customize image insertion code. (#20) 2016-05-14 11:58:43 +02:00