Add extra/optional Markdown dependency to setup.py

- Modify documentation to use the extra dependency in order to install
the recommended markdown package version.
This commit is contained in:
David Alfonso 2019-10-09 11:08:39 +02:00
commit bc450b3339
3 changed files with 13 additions and 2 deletions

View file

@ -9,6 +9,10 @@ You can install Pelican via several different methods. The simplest is via
pip install pelican
Or, if you plan on using Markdown::
pip install pelican[Markdown]
(Keep in mind that operating systems will often require you to prefix the above
command with ``sudo`` in order to install Pelican system-wide.)
@ -40,7 +44,11 @@ Optional packages
-----------------
If you plan on using `Markdown <http://pypi.python.org/pypi/Markdown>`_ as a
markup format, you'll need to install the Markdown library::
markup format, you can install Pelican with Markdown support::
pip install pelican[Markdown]
Or you might need to install it a posteriori::
pip install Markdown