mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-03-16 21:40:24 +00:00
v1.5
This commit is contained in:
parent
7b012db5a5
commit
b3040c6242
2 changed files with 9 additions and 1 deletions
|
|
@ -270,6 +270,10 @@ $('.markdownx').on('markdownx.update', function(e, response) {
|
|||
});
|
||||
```
|
||||
|
||||
## Custom image insertion tags
|
||||
|
||||
Markdown uses `![]()` syntax to insert uploaded image file. This generates very simple html `<image>` tag. When you want to have more control and use your own html tags just create custom `form_valid()` function in `ImageUploadView` class (`views.py`).
|
||||
|
||||
|
||||
# Dependencies
|
||||
|
||||
|
|
@ -280,6 +284,10 @@ $('.markdownx').on('markdownx.update', function(e, response) {
|
|||
|
||||
# Changelog
|
||||
|
||||
###### v1.5
|
||||
|
||||
* Possibility to customize image insertion code
|
||||
|
||||
###### v1.4.3
|
||||
|
||||
* Markdown abstractable function fix
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -10,7 +10,7 @@ def get_requirements():
|
|||
|
||||
setup(
|
||||
name='django-markdownx',
|
||||
version='1.4.3',
|
||||
version='1.5',
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
description='Django Markdownx is a Markdown editor built for Django. It enables raw editing, live preview and image uploads (stored in `MEDIA` folder) with drag&drop functionality and auto tag insertion. Also, django-markdownx supports multiple editors on one page.',
|
||||
|
|
|
|||
Loading…
Reference in a new issue