Add markdown comment support
This commit is contained in:
parent
579b94689c
commit
6aa084d615
2 changed files with 9 additions and 1 deletions
|
@ -65,7 +65,14 @@ CATEGORY_PAGE_PATH = "theme/templates/categories"
|
||||||
# Setup markdown extensions
|
# Setup markdown extensions
|
||||||
from fontawesome_markdown import FontAwesomeExtension
|
from fontawesome_markdown import FontAwesomeExtension
|
||||||
from pyembed.markdown import PyEmbedMarkdown
|
from pyembed.markdown import PyEmbedMarkdown
|
||||||
MD_EXTENSIONS = [FontAwesomeExtension(), PyEmbedMarkdown(), 'codehilite(css_class=highlight)', 'extra']
|
from mkdcomments import CommentsExtension
|
||||||
|
MD_EXTENSIONS = [
|
||||||
|
FontAwesomeExtension(),
|
||||||
|
PyEmbedMarkdown(),
|
||||||
|
CommentsExtension(),
|
||||||
|
'codehilite(css_class=highlight)',
|
||||||
|
'extra'
|
||||||
|
]
|
||||||
|
|
||||||
# Setup jinja2 filters
|
# Setup jinja2 filters
|
||||||
import filters
|
import filters
|
||||||
|
|
|
@ -3,5 +3,6 @@ fontawesome_markdown==0.2.5
|
||||||
gitpython==2.0.3
|
gitpython==2.0.3
|
||||||
iso8601==0.1.11
|
iso8601==0.1.11
|
||||||
markdown==2.6.6
|
markdown==2.6.6
|
||||||
|
git+https://github.com/ryneeverett/python-markdown-comments.git
|
||||||
pelican==3.6.3
|
pelican==3.6.3
|
||||||
pyembed-markdown==1.1.0
|
pyembed-markdown==1.1.0
|
||||||
|
|
Reference in a new issue