From 03639990c03862ca23ccacde51d253622ffa4d74 Mon Sep 17 00:00:00 2001 From: RealOrangeOne Date: Sat, 25 Jun 2016 15:22:54 +0100 Subject: [PATCH] add pyembed extension --- pelicanconf.py | 3 ++- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index 768cf07..71e4b86 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -62,7 +62,8 @@ SITEMAP = { # Setup markdown extensions from fontawesome_markdown import FontAwesomeExtension -MD_EXTENSIONS = [FontAwesomeExtension(), 'codehilite(css_class=highlight)', 'extra'] +from pyembed.markdown import PyEmbedMarkdown +MD_EXTENSIONS = [FontAwesomeExtension(), PyEmbedMarkdown(), 'codehilite(css_class=highlight)', 'extra'] # Setup jinja2 filters import filters diff --git a/requirements.txt b/requirements.txt index c0bb63f..d76ec48 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -beautifulsoup4==4.4.1 flake8==2.5.0 fontawesome_markdown==0.2.5 gitpython==2.0.3 iso8601==0.1.11 markdown==2.6.6 pelican==3.6.3 +pyembed-markdown==1.1.0