mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-03-28 22:04:29 +03:00
Use full python dot path to extension
This commit is contained in:
parent
276bc3bc2b
commit
d9d34e4886
|
@ -159,7 +159,7 @@ try:
|
|||
of '#' style headers to <h2>.
|
||||
"""
|
||||
|
||||
extensions = ['headerid(level=2)']
|
||||
extensions = ['markdown.extensions.headerid(level=2)']
|
||||
md = markdown.Markdown(extensions=extensions)
|
||||
return md.convert(text)
|
||||
except ImportError:
|
||||
|
|
Loading…
Reference in New Issue
Block a user