mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-03-16 21:40:24 +00:00
34 lines
798 B
Markdown
34 lines
798 B
Markdown
|
|
# Installation
|
|||
|
|
|
|||
|
|
## Using PIP
|
|||
|
|
|
|||
|
|
Django MarkdownX may be installed directly using Python Package Index (PyPi):
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
python3 -m pip install django-markdownx
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## From the source
|
|||
|
|
|
|||
|
|
Should you wish to download and install it using the source code, you can do as follows:
|
|||
|
|
|
|||
|
|
!!! note
|
|||
|
|
Make sure you have activated your virtual environment if you’re using one.
|
|||
|
|
|
|||
|
|
We start off by downloading the source code from GitHub and navigate to the downloaded directory:
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
git clone https://github.com/adi-/django-markdownx.git
|
|||
|
|
cd django-markdownx/
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
Install the package.
|
|||
|
|
|
|||
|
|
```bash
|
|||
|
|
python3 setup.py install
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
!!! tip
|
|||
|
|
You can replace ``python3`` with ``python`` or any of  if
|
|||
|
|
you have multiple versions installed on your machine:
|