1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
Eric e721727476 Allow explicit setting of markdown extensions
These additions are to make it easier to disable pygments or any other
extension the user may not want. In the previous version, these plugins are
hardcoded, but by making it a variable in the config, it is possible to not use
pygments or easily load extra markdown plugins if needed; you can have multiple
plugins in one virtual environment and have different configs load them as
needed.

In my `pelicanconf.py` I then have the following:

    MD_EXTENSIONS = ['extra', 'syntaxhighlighter']

where `syntaxhighlighter` is a custom markdown extension I am working on to use
syntax highlighter instead of pygments for code highlighting.
2013-03-03 21:36:45 -08:00
..
plugins update summary plugin so that tests are fixed (hopefully) 2013-03-01 12:59:26 +01:00
themes Strip tags from title in simple index. Fixes #612 2012-12-02 16:10:11 -08:00
tools Check output directory exists before doing a clean 2013-03-03 21:21:05 -08:00
__init__.py Manual pass on sources for better standards. 2013-03-03 20:12:31 -08:00
contents.py Manual pass on sources for better standards. 2013-03-03 20:12:31 -08:00
generators.py Don't overwrite output_path. Fix #750 2013-03-03 21:00:52 -08:00
log.py Manual pass on sources for better standards. 2013-03-03 20:12:31 -08:00
paginator.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00
readers.py Allow explicit setting of markdown extensions 2013-03-03 21:36:45 -08:00
rstdirectives.py Port pelican to python 3. 2013-01-11 03:20:09 +01:00
server.py Manual pass on sources for better standards. 2013-03-03 20:12:31 -08:00
settings.py Manual pass on sources for better standards. 2013-03-03 20:12:31 -08:00
signals.py Add a pages_generator_finalized signal. 2013-02-10 12:42:54 -08:00
utils.py Manual pass on sources for better standards. 2013-03-03 20:12:31 -08:00
writers.py Manual pass on sources for better standards. 2013-03-03 20:12:31 -08:00