A form widget that change the textfield style to the markdown.

## Installation
1. Get the code: `pip install mkeditor`
2. Add `mkedirot` to your `INSTALLED_APPS`
## Usage
1. In forms.py
```
from mkeditor.widgets import MarkdownWidget
class ArticleForm(forms.ModelForm):
class Meta:
widgets = {
'content': MarkdownWidget, # the content is model field
}
```
2. In admin.py
```
from .form import ArticleForm
class ArticleAdmin(admin.ModelAdmin):
form = ArticleForm
admin.site.register(Article, ArticleAdmin)
```
Metadata
Release files for mkeditor 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mkeditor-0.1.tar.gz | 1.3 MB | Without provenance | Details for mkeditor-0.1.tar.gz |
Release files / mkeditor-0.1.tar.gz
| Download URL | mkeditor-0.1.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2f0b742911326d17b8c453daf15a7c6a5436c4f42ad9496ffff5ad20edf1a66
|
|
BLAKE2b-256 checksum How to use checksums |
e6261f6000d32801ed6f5593c743644d0daf9b245163c97b9bfe0b13060c719c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mkeditor 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.