Permalink
Browse files

Merge pull request #159 from edunham/deps

Deps
  • Loading branch information...
2 parents 9175820 + 5c881e3 commit a1368f6c6bc75e0b1b878b315bfd31ac8aefbabb @edunham edunham committed on GitHub Nov 22, 2016
Showing with 10 additions and 4 deletions.
  1. +2 −2 setup.py
  2. +8 −2 wok/renderers.py
View
@@ -26,9 +26,9 @@
],
install_requires=[
'Jinja2==2.6',
- 'Markdown==2.1.1',
+ 'Markdown==2.6.5',
'PyYAML==3.10',
- 'Pygments==1.4',
+ 'Pygments==2.1',
'docutils==0.8.1',
'awesome-slugify==1.4',
'pytest==2.5.2',
View
@@ -37,13 +37,19 @@ class Markdown(Renderer):
"""Markdown renderer."""
extensions = ['markdown', 'mkd', 'md']
- plugins = ['def_list', 'footnotes']
+ plugins = [
+ 'markdown.extensions.def_list',
+ 'markdown.extensions.headerid',
+ 'markdown.extensions.tables',
+ 'markdown.extensions.toc',
+ 'markdown.extensions.footnotes'
+ ]
if have_pygments:
plugins.extend(['codehilite(css_class=codehilite)', 'fenced_code'])
@classmethod
def render(cls, plain, page_meta):
- return markdown(plain, cls.plugins)
+ return markdown(plain, extensions=cls.plugins)
all.append(Markdown)

0 comments on commit a1368f6

Please sign in to comment.