mirror of
https://github.com/Hopiu/django-markdownx.git
synced 2026-03-17 14:00:22 +00:00
41 lines
No EOL
971 B
ReStructuredText
41 lines
No EOL
971 B
ReStructuredText
Installation
|
|
============
|
|
Using PIP
|
|
---------
|
|
Django MarkdownX may be installed directly using Python Package Index (PyPi):
|
|
|
|
.. code-block:: 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:
|
|
|
|
.. code-block:: bash
|
|
|
|
git clone https://github.com/adi-/django-markdownx.git
|
|
cd django-markdownx/
|
|
|
|
|
|
Install the package.
|
|
|
|
.. code-block:: bash
|
|
|
|
python3 setup.py install
|
|
|
|
|
|
.. Tip::
|
|
You can replace ``python3`` with ``python`` or any of |Supported_versions_of_Python| if
|
|
you have multiple versions installed on your machine:
|
|
|
|
|
|
.. |Supported_versions_of_Python| image:: https://img.shields.io/pypi/pyversions/django-markdownx.svg
|
|
|
|
.. automodule:: setup |