Skip to content

Commit

Permalink
Avoid Markdown 2.6 deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
kernc committed Aug 20, 2015
1 parent 39f7428 commit 33580b4
Show file tree
Hide file tree
Showing 5 changed files with 234 additions and 190 deletions.
3 changes: 2 additions & 1 deletion docs/internals.rst
Expand Up @@ -50,7 +50,8 @@ Take a look at the Markdown reader::
def read(self, source_path):
"""Parse content and metadata of markdown files"""
text = pelican_open(source_path)
md = Markdown(extensions = ['meta', 'codehilite'])
md = Markdown(extensions = ['markdown.extensions.meta',
'markdown.extensions.codehilite'])
content = md.convert(text)

metadata = {}
Expand Down

0 comments on commit 33580b4

Please sign in to comment.